1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

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.
This commit is contained in:
James Henstridge 2000-01-28 13:59:21 +00:00 committed by James Henstridge
parent aeea04f18f
commit f3be931a2e
3 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.
Wed Jan 26 18:14:55 CET 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* nanoftp.[ch]: cleanup, comments, API

View File

@ -28,6 +28,7 @@ libxml_la_SOURCES = \
xmlIO.c \
xmlmemory.c \
nanohttp.c \
nanoftp.c \
valid.c \
xlink.c
@ -47,6 +48,7 @@ xmlinc_HEADERS = \
xmlIO.h \
xmlmemory.h \
nanohttp.h \
nanoftp.h \
valid.h \
xlink.h

View File

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