commit | 259552dbd9117fcde8d3b5d676011611899f86dd | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Dec 09 18:46:28 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Dec 09 18:46:28 1996 +0000 |
tree | ca11b328623d0d06ca47a2c5ede5116b2703be5d | |
parent | 52174577eb66cb5e54b3230a16e99dd5b76b6c23 [diff] [blame] |
Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy.
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 *