summaryrefslogtreecommitdiff
path: root/nanoftp.c
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-01-28 13:59:21 +0000
committerJames Henstridge <jamesh@src.gnome.org>2000-01-28 13:59:21 +0000
commitf3be931a2eae49a97a4b4f2b351bdf7e26d14910 (patch)
tree858d12285aa82d4b3f327919563da6c4d182fcfd /nanoftp.c
parentaeea04f18f5efda220ec3fa35d5f684a2985453e (diff)
downloadlibxml2-f3be931a2eae49a97a4b4f2b351bdf7e26d14910.tar.gz
include <netinet/in.h> for IPPROTO_TCP.
2000-01-29 James Henstridge <james@daa.com.au> * nanoftp.c: include <netinet/in.h> for IPPROTO_TCP. * Makefile.am: added nanoftp.[ch] to the build.
Diffstat (limited to 'nanoftp.c')
-rw-r--r--nanoftp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nanoftp.c b/nanoftp.c
index c487c290..69ddc02f 100644
--- a/nanoftp.c
+++ b/nanoftp.c
@@ -28,6 +28,9 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif