diff options
author | Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> | 2007-11-16 18:52:45 -0500 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> | 2007-11-16 18:52:45 -0500 |
commit | 5e6c9b109b4df95afabbdd44eac271b65e2b98d5 (patch) | |
tree | ecd7a342338fb3058970664fe88cf41a7ec93c5b | |
parent | 90aa4dd2e1ce5850bca068e0060d09f73009ac55 (diff) | |
download | compat-wireless-2.6-old-5e6c9b109b4df95afabbdd44eac271b65e2b98d5.tar.gz |
Force inclusion of compat.h first.
Include linux/autoconf.h before other headers.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | compat/compat.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -14,6 +14,7 @@ ifneq ($(KERNELRELEASE),) # This is a hack! But hey.. it works, got any better ideas, send a patch ;) NOSTDINC_FLAGS := -I$(PWD)/include/ $(CFLAGS) +NOSTDINC_FLAGS := -I$(PWD)/include/ -include $(M)/compat/compat.h $(CFLAGS obj-y := net/wireless/ net/mac80211/ \ drivers/ssb/ \ diff --git a/compat/compat.h b/compat/compat.h index f61c16f..e23ab9d 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -1,6 +1,7 @@ #ifndef LINUX_26_COMPAT_H #define LINUX_26_COMPAT_H +#include <linux/autoconf.h> #include <linux/kernel.h> #include <linux/netdevice.h> #include <linux/genetlink.h> |