about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-07-28 21:50:14 +0000
committerRoland McGrath <roland@gnu.org>2003-07-28 21:50:14 +0000
commitcbb91e21b41fd79950512674de7c76fd24562764 (patch)
tree77fea59e67fa4353ba454248053f53b80bef5cc4 /sysdeps
parent01fd72acb34df05c1c23ac998ae73540d279397e (diff)
downloadglibc-cbb91e21b41fd79950512674de7c76fd24562764.tar.gz
glibc-cbb91e21b41fd79950512674de7c76fd24562764.tar.xz
glibc-cbb91e21b41fd79950512674de7c76fd24562764.zip
2003-07-28 Roland McGrath <roland@redhat.com>
	* sysdeps/unix/sysv/linux/sys/sysctl.h: Include <linux/compiler.h>
	before <linux/sysctl.h>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sys/sysctl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/sysctl.h b/sysdeps/unix/sysv/linux/sys/sysctl.h
index d5cdb1ce9e..9dbb0fc078 100644
--- a/sysdeps/unix/sysv/linux/sys/sysctl.h
+++ b/sysdeps/unix/sysv/linux/sys/sysctl.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1999, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1999, 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,6 +26,9 @@
 #define _LINUX_KERNEL_H	1
 #define _LINUX_TYPES_H	1
 #define _LINUX_LIST_H	1
+/* We do need this one for the declarations in <linux/sysctl.h>,
+   since we've elided the inclusion of <linux/kernel.h> that gets them.  */
+#include <linux/compiler.h>
 #include <linux/sysctl.h>
 
 __BEGIN_DECLS