]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
more maintainer-appeasement (which systems do not provide sys/socket.h?)
authorJelte Jansen <jelte@NLnetLabs.nl>
Wed, 28 May 2008 07:19:35 +0000 (07:19 +0000)
committerJelte Jansen <jelte@NLnetLabs.nl>
Wed, 28 May 2008 07:19:35 +0000 (07:19 +0000)
it should now be possible to include ldns/ldns.h in your application without inclusion dependencies

ldns/net.h

index 440b2a3d1ee210068211c659fc1f5adb4ff59ddf..3e4b65fe2b76e0c3c51dc20e586044d381ea72a2 100644 (file)
 #define LDNS_NET_H
 
 #include <ldns/ldns.h>
-
-#ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
-#endif
 
 #define LDNS_DEFAULT_TIMEOUT_SEC 2
 #define LDNS_DEFAULT_TIMEOUT_USEC 0