1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/libgtop/files/patch-ai

12 lines
381 B
Plaintext
Raw Normal View History

--- 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 < 500000)) || (defined __bsdi__)
#define KERNEL 1
#else
#define _KERNEL 1