]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Needed for htons.
authorErik Rozendaal <erik@NLnetLabs.nl>
Tue, 21 Dec 2004 14:16:02 +0000 (14:16 +0000)
committerErik Rozendaal <erik@NLnetLabs.nl>
Tue, 21 Dec 2004 14:16:02 +0000 (14:16 +0000)
str2host.c

index c0979a7c538e88a9d07c47a29526eb73d89075e4..3a8f009e49cdf405aeb1c25787944c12c6940e28 100644 (file)
@@ -19,6 +19,9 @@
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <limits.h>
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
 
 /**
  * convert a short into wireformat