--- 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