summaryrefslogtreecommitdiff
path: root/games/plib/patches/patch-ad
blob: b8dfdce981437c90e8fcb58747fd5f47b041c8e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.4 2004/08/22 11:19:42 kristerw Exp $

--- src/sl/slPortability.h.orig	2004-03-19 03:18:23.000000000 +0100
+++ src/sl/slPortability.h	2004-03-19 03:19:02.000000000 +0100
@@ -35,7 +35,8 @@
 
 /* the next lines are to define BSD */
 /* see http://www.freebsd.org/handbook/porting.html for why we do this */
-#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#if (defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) \
+    && !defined(USG)
 #include <sys/param.h>
 #endif