diff options
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 3e510fe..6c72539 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -89,6 +89,10 @@ Socket methods: #include <unistd.h> #endif +#ifndef MS_WINDOWS +extern int gethostname(); /* For Solaris, at least */ +#endif + #include <sys/types.h> #include "mytime.h" |