diff options
Diffstat (limited to 'net/sipxcommserverlib/files/patch-include_fastdb_cliproto.h')
-rw-r--r-- | net/sipxcommserverlib/files/patch-include_fastdb_cliproto.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/sipxcommserverlib/files/patch-include_fastdb_cliproto.h b/net/sipxcommserverlib/files/patch-include_fastdb_cliproto.h new file mode 100644 index 000000000000..d8a6fdb49130 --- /dev/null +++ b/net/sipxcommserverlib/files/patch-include_fastdb_cliproto.h @@ -0,0 +1,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 + // |