summaryrefslogtreecommitdiff
path: root/wm/3ddesktop/patches/patch-ac
blob: 8e26be7ff818b06fc9be4a6571364b7203061b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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