summaryrefslogtreecommitdiff
path: root/devel/libgtop/patches/patch-af
blob: 7e64004fddd4be2d1431f81c201b6710837be0c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-af,v 1.2 1998/11/01 23:22:19 tron Exp $

--- sysdeps/bsd/shm_limits.c	1998/10/06 17:04:40	1.1
+++ sysdeps/bsd/shm_limits.c	1998/10/06 17:08:48
@@ -27,7 +27,12 @@
 
 /* #define KERNEL to get declaration of `struct shminfo'. */
 
+/* Tut, tut, tut - what about those namespaces? */
+#ifdef __NetBSD__
+#define _KERNEL
+#else
 #define KERNEL
+#endif
 
 #include <sys/ipc.h>
 #include <sys/shm.h>