summaryrefslogtreecommitdiff
path: root/chat/iip/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'chat/iip/patches/patch-aa')
-rw-r--r--chat/iip/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/chat/iip/patches/patch-aa b/chat/iip/patches/patch-aa
new file mode 100644
index 00000000000..ea2d49d3a55
--- /dev/null
+++ b/chat/iip/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2005/12/13 16:59:37 joerg Exp $
+
+--- src/misc/compat.h.orig 2005-12-13 16:46:43.000000000 +0000
++++ src/misc/compat.h
+@@ -70,7 +70,9 @@
+ #if defined(_WINDOZE_) || defined(_CYGWIN_)
+ #define LITTLE__ENDIAN
+ #else
+-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MACH__) || defined(__NetBSD__)
++#if defined(__DragonFly__)
++#include <sys/endian.h>
++#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MACH__) || defined(__NetBSD__)
+ #include <machine/endian.h>
+ #if BYTE_ORDER == LITTLE_ENDIAN
+ #define LITTLE__ENDIAN