]> git.stg.codes - stg.git/commitdiff
Fixed ip_queue.h checking.
authorMaxim Mamontov <faust.madf@gmail.com>
Sun, 11 Nov 2012 17:00:13 +0000 (19:00 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Sun, 11 Nov 2012 17:00:13 +0000 (19:00 +0200)
projects/stargazer/build

index a3b64c196b06e7df50ccdbf5279aaf693c5bdfa0..ff2269e125396821a7a0dbe247607e63c44ee253 100755 (executable)
@@ -336,7 +336,9 @@ else
 fi
 
 echo -n "Checking for linux/netfilter_ipv4/ip_queue.h... "
-echo "#include <linux/netfilter_ipv4/ip_queue.h> int main() { return 0; }" > build_check.c
+echo "#include <linux/types.h>" > build_check.c
+echo "#include <linux/netfilter_ipv4/ip_queue.h>" >> build_check.c
+echo "int main() { return 0; }" >> build_check.c
 $CC $CFLAGS $LDFLAGS build_check.c -lexpat -o fake > /dev/null 2> /dev/null
 if [ $? != 0 ]
 then