about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-23 06:52:05 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-23 06:52:05 +0000
commitb4246fd63d878e0d5ca5d4ae12e96b9409af4756 (patch)
tree1f3b8631175e236d2ce7d6173a0d4c7c3d5c194c
parent6c46718f9f0dc0756860988c36eacdefe1cd27a6 (diff)
downloadglibc-b4246fd63d878e0d5ca5d4ae12e96b9409af4756.tar.gz
glibc-b4246fd63d878e0d5ca5d4ae12e96b9409af4756.tar.xz
glibc-b4246fd63d878e0d5ca5d4ae12e96b9409af4756.zip
Update.
2000-08-23  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
	otherwise __LINUX_KERNEL_VERSION might not be defined.
	(MIN): Define if not already defined.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/unix/sysv/linux/dl-osinfo.h5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b377dd668..b912b5cbcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-08-23  Andreas Jaeger  <aj@suse.de>
+
+	* sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
+	otherwise __LINUX_KERNEL_VERSION might not be defined.
+	(MIN): Define if not already defined.
+
 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
 
 	* stdio-common/vfprintf.c: Handle %F format.
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h
index f327161b7a..7fc0259ae4 100644
--- a/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -18,6 +18,11 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <sys/sysctl.h>
+#include "kernel-features.h"
+
+#ifndef MIN
+# define MIN(a,b) (((a)<(b))?(a):(b))
+#endif
 
 /* There is no prototype for __sysctl in that file.  */
 extern int __sysctl (int *name, int nlen, void *oldval,