#define _KERNEL on -current before including sys/msg.h so this will build
correctly.
This commit is contained in:
parent
6f281f85c4
commit
52a22139bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28826
11
devel/libgtop/files/patch-ai
Normal file
11
devel/libgtop/files/patch-ai
Normal file
@ -0,0 +1,11 @@
|
||||
--- sysdeps/freebsd/msg_limits.c.orig Sat May 27 14:19:11 2000
|
||||
+++ sysdeps/freebsd/msg_limits.c Sat May 27 14:21:05 2000
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
/* #define KERNEL to get declaration of `struct msginfo'. */
|
||||
|
||||
-#if (defined __FreeBSD__) || (defined __bsdi__)
|
||||
+#if (defined(__FreeBSD__) && __FreeBSD__ < 5) || (defined __bsdi__)
|
||||
#define KERNEL 1
|
||||
#else
|
||||
#define _KERNEL 1
|
11
devel/libgtop2/files/patch-ai
Normal file
11
devel/libgtop2/files/patch-ai
Normal file
@ -0,0 +1,11 @@
|
||||
--- sysdeps/freebsd/msg_limits.c.orig Sat May 27 14:19:11 2000
|
||||
+++ sysdeps/freebsd/msg_limits.c Sat May 27 14:21:05 2000
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
/* #define KERNEL to get declaration of `struct msginfo'. */
|
||||
|
||||
-#if (defined __FreeBSD__) || (defined __bsdi__)
|
||||
+#if (defined(__FreeBSD__) && __FreeBSD__ < 5) || (defined __bsdi__)
|
||||
#define KERNEL 1
|
||||
#else
|
||||
#define _KERNEL 1
|
Loading…
Reference in New Issue
Block a user