about summary refs log tree commit diff
path: root/sysdeps
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 /sysdeps
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/dl-osinfo.h5
1 files changed, 5 insertions, 0 deletions
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,