summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/descrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/descrypt.c b/util/descrypt.c
index ecac9001..8eef093b 100644
--- a/util/descrypt.c
+++ b/util/descrypt.c
@@ -358,7 +358,7 @@ static int des_setkey(const char *key) {
if(!des_initialised)
des_init();
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
#include <netinet/in.h>
#endif
rawkey0 = ntohl(*(uint32_t*) key);