diff options
author | Julio M. Merino Vidal <jmmv@NetBSD.org> | 2006-04-09 10:50:43 +0000 |
---|---|---|
committer | BenoƮt Dejean <bdejean@src.gnome.org> | 2006-04-09 10:50:43 +0000 |
commit | 3c21c70b6446bba94829d17c18ce89f1124c07d1 (patch) | |
tree | a6867ec29a53778d92b1a90cc0d86ec5c0281243 /ChangeLog | |
parent | 9e6115f32274de354766659715ad0fb347bf7d00 (diff) | |
download | libgtop-3c21c70b6446bba94829d17c18ce89f1124c07d1.tar.gz |
Use configure checks to detect whether we need to define either KERNEL or
2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org>
* libgtop-sysdeps.m4:
* sysdeps/freebsd/msg_limits.c:
Use configure checks to detect whether we need to define either
KERNEL or _KERNEL to get the definition of 'struct msginfo' in a
BSD system. This replaces the previous checks in the code that
relied on __FreeBSD__ and similar macros.
Before this change, the explicit definition of _KERNEL in the
msg_limits.c file broke the build in NetBSD because it made the
system headers pull in stuff unavailable to userland.
Fixes bug #337207.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,6 +1,22 @@ 2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org> * libgtop-sysdeps.m4: + * sysdeps/freebsd/msg_limits.c: + + Use configure checks to detect whether we need to define either + KERNEL or _KERNEL to get the definition of 'struct msginfo' in a + BSD system. This replaces the previous checks in the code that + relied on __FreeBSD__ and similar macros. + + Before this change, the explicit definition of _KERNEL in the + msg_limits.c file broke the build in NetBSD because it made the + system headers pull in stuff unavailable to userland. + + Fixes bug #337207. + +2006-04-04 Julio M. Merino Vidal <jmmv@NetBSD.org> + + * libgtop-sysdeps.m4: * sysdeps/freebsd/Makefile.am: Check for the kvm library and use it to link the suid freebsd |