1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/devel/libgtop/files/patch-ai
Ade Lovett c990206c56 RELENG_4 now uses _KERNEL instead of KERNEL, too.
Build failure pointed out by:	Anders Andersson <anders@sanyusan.se>
2000-08-07 15:48:54 +00:00

12 lines
381 B
Plaintext

--- sysdeps/freebsd/msg_limits.c.orig Sun Feb 13 09:47:58 2000
+++ sysdeps/freebsd/msg_limits.c Fri May 26 13:36:23 2000
@@ -46,7 +46,7 @@
/* #define KERNEL to get declaration of `struct msginfo'. */
-#if (defined __FreeBSD__) || (defined __bsdi__)
+#if ((defined __FreeBSD__) && (__FreeBSD_version < 410000)) || (defined __bsdi__)
#define KERNEL 1
#else
#define _KERNEL 1