aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-08-23 07:23:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-08-23 07:23:42 +0000
commitd4731b70505d308064e85bfa1ea1f88904442af2 (patch)
treeaf88b993286e656d7b15062a704963142062ccc8 /lib/file.c
parent8d2c24265d6d8ed74e3d2dc646cb1c3d20f290f3 (diff)
Albert Chin-A-Young's fixes
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/file.c b/lib/file.c
index 3b6aec63d..53e704f6b 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -60,13 +60,17 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
#include <sys/time.h>
#include <sys/resource.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_NETDB_H
#include <netdb.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif