$NetBSD: patch-ag,v 1.3 2005/10/11 02:03:18 jschauma Exp $

--- find/pred.c.orig	Mon Oct 10 21:13:02 2005
+++ find/pred.c	Mon Oct 10 21:14:52 2005
@@ -15,6 +15,8 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
+#define _GNU_SOURCE
+
 #include <config.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -26,6 +28,10 @@
 #include "defs.h"
 #include "modetype.h"
 #include "wait.h"
+
+#ifdef __sgi
+#include <libgen.h>
+#endif
 
 #if !defined(SIGCHLD) && defined(SIGCLD)
 #define SIGCHLD SIGCLD
