]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
inet_ntop replacement: include sys/socket.h
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 19 Mar 2015 10:06:28 +0000 (11:06 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 19 Mar 2015 10:08:02 +0000 (11:08 +0100)
lib/inet_ntop.c

index 2224dbad25fe3bc1e75982bdb7e32dc5b6f59f03..2ed11ba308bdb7d16d84760024b5efded4adb0a7 100644 (file)
 # include <stdio.h>
 # include <string.h>
 # include <errno.h>
+# include <sys/socket.h>
+# include "system.h"
+
+# ifndef IF_LINT
+#  define IF_LINT
+#endif
 
 # ifndef HAVE_IPV6
 #  define HAVE_IPV6 1