From 749e0b788ab54124cc7c0128e185b672c896075f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 17 Mar 2010 02:10:56 +0100 Subject: [PATCH] build: fix build of userspace modules against old headers from linux-glibc-devel --- configure.ac | 3 ++- doc/changelog.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c31415c..83befc8 100644 --- a/configure.ac +++ b/configure.ac @@ -34,7 +34,8 @@ AC_CHECK_HEADERS([linux/netfilter/x_tables.h], [], regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \ -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \ -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \ - -Winline -pipe -DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\""; + -Winline -pipe -DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\" \ + -I\${XA_TOPSRCDIR}/include"; # # check kernel version diff --git a/doc/changelog.txt b/doc/changelog.txt index c75c4a5..2d0e58f 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -1,6 +1,8 @@ HEAD ==== +- build: fix build of userspace modules against old (pre-2.6.25) + headers from linux-glibc-devel (/usr/include/linux) - ipp2p: updated bittorent command recognition - SYSRQ: let module load when crypto is unavailable - SYSRQ: allow processing of UDP-Lite