$NetBSD: patch-ag,v 1.5 2015/08/26 12:44:33 wiz Exp $

--- find/pred.c.orig	2009-05-16 15:17:01.000000000 +0000
+++ find/pred.c
@@ -48,6 +48,10 @@
 #include "error.h"
 #include "verify.h"
 
+#ifdef __sgi
+#include <libgen.h>
+#endif
+
 #if ENABLE_NLS
 # include <libintl.h>
 # define _(Text) gettext (Text)
