diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2000-09-04 05:12:44 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2000-09-04 05:12:44 +0000 |
commit | eede68159820640725c2f92dcc95cd97de1df743 (patch) | |
tree | f9d207f82b1508b16aed8e4c9e9d280151e961e3 | |
parent | 1311b6b9cc18dfe31838e7fce4ec199ce0d39e4e (diff) |
More sparc64 fixes.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | include/libipq/libipq.h | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -23,7 +23,7 @@ EXTRA_INSTALLS+=$(DESTDIR)$(BINDIR)/iptables $(DESTDIR)$(BINDIR)/ip6tables $(DES # Sparc64 hack ifeq ($(shell uname -m),sparc64) # The kernel is 64-bit, even though userspace is 32. -CFLAGS+=-DIPT_MIN_MATCH_ALIGN=8 -DIPT_MIN_ENTRY_ALIGN=8 +CFLAGS+=-DIPT_MIN_MATCH_ALIGN=8 -DIPT_MIN_ENTRY_ALIGN=8 -DKERNEL_64_USERSPACE_32 endif ifndef IPT_LIBDIR diff --git a/include/libipq/libipq.h b/include/libipq/libipq.h index bc51ec72..f4c4ab70 100644 --- a/include/libipq/libipq.h +++ b/include/libipq/libipq.h @@ -26,7 +26,11 @@ #include <asm/types.h> #include <linux/netlink.h> +#ifdef KERNEL_64_USERSPACE_32 +#include "ip_queue_64.h" +#else #include <linux/netfilter_ipv4/ip_queue.h> +#endif #ifdef DEBUG_LIBIPQ #include <stdio.h> |