summaryrefslogtreecommitdiff
path: root/net/sipxcommserverlib/files/patch-include_fastdb_cliproto.h
blob: d8a6fdb491309c5f5601d520c1cc91fe7f259c4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ./include/fastdb/cliproto.h.orig	Thu Dec 28 18:47:56 2006
+++ ./include/fastdb/cliproto.h	Thu Dec 28 18:49:16 2006
@@ -81,10 +81,7 @@
     cli_oid
 };
 
-#if defined(__FreeBSD__)
-#include <sys/param.h>
-#define USE_HTON_NTOH
-#elif defined(__linux__)
+#if defined(__linux__) || defined(__FreeBSD__)
 //
 // At Linux inline assembly declarations of ntohl, htonl... are available
 //