From 97e7a4e6622ddb09eec102ba2f16e0ad9ba66b7f Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sun, 25 Jan 2015 20:23:17 +0200 Subject: [PATCH] Added necessary headers in netlink/nfq checks. --- projects/stargazer/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/stargazer/build b/projects/stargazer/build index 488836cb..f8fb7363 100755 --- a/projects/stargazer/build +++ b/projects/stargazer/build @@ -346,7 +346,7 @@ else fi printf "Checking for -lnfnetlink... " -printf "#include \nint main() { return 0; }\n" > build_check.c +printf "#include \n#include \n#include \nint main() { return 0; }\n" > build_check.c $CXX $CXXFLAGS $LDFLAGS build_check.c -lnfnetlink -o fake > /dev/null 2> /dev/null if [ $? != 0 ] then @@ -359,7 +359,7 @@ fi rm -f fake printf "Checking for -lnetfilter_queue... " -printf "#include \nint main() { return 0; }\n" > build_check.c +printf "#include \n#include \nint main() { return 0; }\n" > build_check.c $CXX $CXXFLAGS $LDFLAGS build_check.c -lnetfilter_queue -o fake > /dev/null 2> /dev/null if [ $? != 0 ] then -- 2.44.2