Added extern decl for gethostname() to keep gcc -Wall happy.

This commit is contained in:
Guido van Rossum 1996-12-10 15:17:08 +00:00
parent 55db515a51
commit fb4130d1f1

View File

@ -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"