projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb763c
)
hostcheck: added a system include to define struct in_addr
author
Dan Fandrich
<dan@coneharvesters.com>
Wed, 26 Mar 2014 21:27:34 +0000
(22:27 +0100)
committer
Dan Fandrich
<dan@coneharvesters.com>
Wed, 26 Mar 2014 21:29:00 +0000
(22:29 +0100)
lib/hostcheck.c
patch
|
blob
|
history
diff --git
a/lib/hostcheck.c
b/lib/hostcheck.c
index
162c522
..
42eb2ee
100644
(file)
--- a/
lib/hostcheck.c
+++ b/
lib/hostcheck.c
@@
-26,6
+26,10
@@
defined(USE_GSKIT)
/* these backends use functions from this file */
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
#include "hostcheck.h"
#include "rawstr.h"
#include "inet_pton.h"