$NetBSD: patch-ag,v 1.4 2007/10/16 00:45:55 tnn Exp $

--- find/pred.c.orig	2007-04-22 17:43:17.000000000 +0200
+++ find/pred.c
@@ -38,6 +38,10 @@
 #include "buildcmd.h"
 #include "yesno.h"
 
+#ifdef __sgi
+#include <libgen.h>
+#endif
+
 #if ENABLE_NLS
 # include <libintl.h>
 # define _(Text) gettext (Text)
