summaryrefslogtreecommitdiff
path: root/wm/3ddesktop/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'wm/3ddesktop/patches/patch-ac')
-rw-r--r--wm/3ddesktop/patches/patch-ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/wm/3ddesktop/patches/patch-ac b/wm/3ddesktop/patches/patch-ac
new file mode 100644
index 00000000000..8e26be7ff81
--- /dev/null
+++ b/wm/3ddesktop/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2005/01/22 09:27:59 xtraeme Exp $
+
+--- util.h.orig 2005-01-22 10:17:51.000000000 +0100
++++ util.h 2005-01-22 10:18:28.000000000 +0100
+@@ -21,7 +21,12 @@
+ #ifndef _UTIL_H
+ #define _UTIL_H
+ #include <math.h> // for cos
++#include <sys/param.h> /* BSD */
++#ifdef BSD
++#include <sys/endian.h>
++#else
+ #include <endian.h>
++#endif
+ #include "3ddesk.h"
+
+ #define MAX_FACES 30 // this is a lot