summaryrefslogtreecommitdiff
path: root/chat/iip/patches/patch-aa
blob: ea2d49d3a558f31c3e186513bfd2417f181552ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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