mirror of
https://github.com/python/cpython.git
synced 2024-11-29 04:44:13 +08:00
Added extern decl for gethostname() to keep gcc -Wall happy.
This commit is contained in:
parent
55db515a51
commit
fb4130d1f1
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user