diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-05 08:48:57 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-05 08:55:05 +0200 |
commit | 0fa9bc9e065029b29f9cecad9f37bfb031389c45 (patch) | |
tree | 48a0ee412b0ac441d3444a0bd3239bc421a8e1e5 /src | |
parent | 8d08604a6c4b3c4b3d0e6f7599520687dd514bc5 (diff) | |
download | gnutls-0fa9bc9e065029b29f9cecad9f37bfb031389c45.tar.gz |
certtool: include arpa/inet.h unconditionally
That is because we use inet_pton() which is either provided by the
OS, or by gnulib.
Diffstat (limited to 'src')
-rw-r--r-- | src/certtool-cfg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/certtool-cfg.c b/src/certtool-cfg.c index f4f5ca3045..186acfa308 100644 --- a/src/certtool-cfg.c +++ b/src/certtool-cfg.c @@ -45,11 +45,13 @@ #if HAVE_SYS_SOCKET_H #include <sys/socket.h> -#include <arpa/inet.h> #elif HAVE_WS2TCPIP_H #include <ws2tcpip.h> #endif +/* From gnulib for inet_pton() */ +#include <arpa/inet.h> + /* Gnulib portability files. */ #include <getpass.h> #include "certtool-common.h" |