diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-10-08 13:07:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-10-08 13:07:08 +0000 |
commit | e612f73374d25ba290e3fe27758bb6084851450f (patch) | |
tree | 3887778d75c66d1a33defb5097a13d21f94ae4a4 /lib/inet_pton.c | |
parent | ff5b6ff5288d29dee7a8e8d24d0948451350cb50 (diff) |
include file fixes
Diffstat (limited to 'lib/inet_pton.c')
-rw-r--r-- | lib/inet_pton.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/inet_pton.c b/lib/inet_pton.c index 0945bdcb4..6cd6bcac5 100644 --- a/lib/inet_pton.c +++ b/lib/inet_pton.c @@ -20,11 +20,21 @@ #ifndef HAVE_INET_PTON +#ifdef HAVE_SYS_PARAM_H #include <sys/param.h> +#endif +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif +#ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> +#endif +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> +#endif +#ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> +#endif #include <string.h> #include <errno.h> |