From: Mark Huang Date: Mon, 20 Feb 2006 18:47:31 +0000 (+0000) Subject: - define __KERNGLUE__ so that we can include kernel header files X-Git-Tag: iptables-1.3.8-0~19 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c30f1008cc103704fc5fa45da504b1d1607dac6c;p=iptables.git - define __KERNGLUE__ so that we can include kernel header files --- diff --git a/Makefile b/Makefile index cd2fe5f..1c8a765 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ DO_IPV6:=1 endif COPT_FLAGS:=-O2 -CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -Iinclude/ -DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" #-g -DDEBUG #-pg # -DIPTC_DEBUG +CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -D__KERNGLUE__ -Iinclude/ -DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" #-g -DDEBUG #-pg # -DIPTC_DEBUG ifdef NO_SHARED_LIBS CFLAGS += -DNO_SHARED_LIBS=1