summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJulio M. Merino Vidal <jmmv@NetBSD.org>2006-04-09 10:50:43 +0000
committerBenoƮt Dejean <bdejean@src.gnome.org>2006-04-09 10:50:43 +0000
commit3c21c70b6446bba94829d17c18ce89f1124c07d1 (patch)
treea6867ec29a53778d92b1a90cc0d86ec5c0281243 /ChangeLog
parent9e6115f32274de354766659715ad0fb347bf7d00 (diff)
downloadlibgtop-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--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 888b7f9a..5c3687e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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