summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/nismodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c
index ab5b9d0..b95b914 100644
--- a/Modules/nismodule.c
+++ b/Modules/nismodule.c
@@ -20,6 +20,11 @@
#include <rpcsvc/yp_prot.h>
#include <rpcsvc/ypclnt.h>
+#ifdef __sgi
+/* This is missing from rpcsvc/ypclnt.h */
+extern int yp_get_default_domain();
+#endif
+
static object *NisError;
static object *