diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2004-04-21 11:18:42 +0000 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-21 11:18:42 +0000 | 
| commit | 62b7c08bb365d7430093ffbae5e2f036aecfca2e (patch) | |
| tree | 91b7eb0de1d080b796c22a459066932271ae8b45 /lib | |
| parent | a85fa66cc81c7989f39c2412b4bbe3f6b8731c3a (diff) | |
include unistd.h as well for the close() proto on some platforms (like Tru64)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hostip.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/lib/hostip.c b/lib/hostip.c index 575f4ac98..e0bfe5b17 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -49,6 +49,9 @@  #ifdef HAVE_STDLIB_H  #include <stdlib.h>	/* required for free() prototypes */  #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h>     /* for the close() proto */ +#endif  #ifdef	VMS  #include <in.h>  #include <inet.h> | 
