summaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-05-22 19:44:10 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-05-22 19:44:10 +0000
commit4aa176c1275108c3d75cea4cac6d2aa96c1623b4 (patch)
tree8c3aad3b5d614b05ccd446720b2f38b4a93895e0 /lib/security.c
parent498e939f0e3da75cbd8b9093fb7846006e7f814b (diff)
downloadcurl-4aa176c1275108c3d75cea4cac6d2aa96c1623b4.tar.gz
Fixed some include file problems on Windows reported by David Rosenstrauch
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/security.c b/lib/security.c
index a07da0b1e..60585a45e 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -51,7 +51,10 @@
#include <stdlib.h>
#include <string.h>
+
+#ifdef HAVE_NETDB_H
#include <netdb.h>
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>