summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-08 15:09:54 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-08 15:09:54 +0800
commit1c1224bc654d1e9e97eac2b175e6c2a53a300795 (patch)
tree31dc64e71bc20573db796ddd9b0d31316afdb9cf /util
parent5b31117f88847d71c05c439f68bc644f199f68b2 (diff)
downloadpttbbs-1c1224bc654d1e9e97eac2b175e6c2a53a300795.tar
pttbbs-1c1224bc654d1e9e97eac2b175e6c2a53a300795.tar.gz
pttbbs-1c1224bc654d1e9e97eac2b175e6c2a53a300795.tar.bz2
pttbbs-1c1224bc654d1e9e97eac2b175e6c2a53a300795.tar.lz
pttbbs-1c1224bc654d1e9e97eac2b175e6c2a53a300795.tar.xz
pttbbs-1c1224bc654d1e9e97eac2b175e6c2a53a300795.tar.zst
pttbbs-1c1224bc654d1e9e97eac2b175e6c2a53a300795.zip
warning free
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2479 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-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);