From ee168e25a99b6bd7edfd8434606a408822e6b75a Mon Sep 17 00:00:00 2001
From: Mark Huang <mlhuang@cs.princeton.edu>
Date: Mon, 20 Feb 2006 19:03:19 +0000
Subject: [PATCH] - define __KERNGLUE__ so that we can include kernel header
 files

---
 ipset/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipset/Makefile b/ipset/Makefile
index 087a9dd..128d1df 100644
--- a/ipset/Makefile
+++ b/ipset/Makefile
@@ -21,7 +21,7 @@ IPSET_LIB_DIR:=$(LIBDIR)/ipset
 RELEASE_DIR:=/tmp
 
 COPT_FLAGS:=-O2
-CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -I. # -g -DIPSET_DEBUG #-pg # -DIPTC_DEBUG
+CFLAGS:=$(COPT_FLAGS) -D__KERNGLUE__ -Wall -Wunused -I$(KERNEL_DIR)/include -I. # -g -DIPSET_DEBUG #-pg # -DIPTC_DEBUG
 SH_CFLAGS:=$(CFLAGS) -fPIC
 SETTYPES:=ipmap portmap macipmap iphash nethash iptree ipporthash
 
-- 
2.47.0