summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-06-15 10:29:58 +0000
committerSimon Josefsson <simon@josefsson.org>2006-06-15 10:29:58 +0000
commit8150140556988ed16d92a8f0bd0a09b2e8193f59 (patch)
tree534cb07ffa7b70cb20ab1ef064e19cfb0a43506a /src
parente5f7387604d828133ab46156ae990a023ea73f51 (diff)
downloadgnutls-8150140556988ed16d92a8f0bd0a09b2e8193f59.tar.gz
Don't include inet_ntop.h, use arpa/inet.h unconditonially.
Diffstat (limited to 'src')
-rw-r--r--src/common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index 4531529f2d..706280f73c 100644
--- a/src/common.h
+++ b/src/common.h
@@ -5,13 +5,13 @@
#include <gnutls/gnutls.h>
#include <sys/socket.h>
+#include <arpa/inet.h>
#ifdef _WIN32
# include <io.h>
# include <winbase.h>
# define close closesocket
#else
# include <netinet/in.h>
-# include <arpa/inet.h>
# include <unistd.h>
# include <netdb.h>
# include <signal.h>
@@ -38,5 +38,3 @@ const char *raw_to_string (const unsigned char *raw, size_t raw_size);
int service_to_port (const char *service);
void sockets_init (void);
-
-#include "inet_ntop.h"