diff options
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 50cd3eb..5d6f24a 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -111,7 +111,7 @@ Socket methods: #endif #if !defined(MS_WINDOWS) && !defined(PYOS_OS2) && !defined(__BEOS__) -extern int gethostname(); /* For Solaris, at least */ +extern int gethostname(char *, size_t); /* For Solaris, at least */ #endif #if defined(PYCC_VACPP) |