mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Added extern decl for gethostname() to keep gcc -Wall happy.
This commit is contained in:
parent
55db515a51
commit
fb4130d1f1
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue