git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed ip_queue.h checking.
[stg.git]
/
projects
/
stargazer
/
build
diff --git
a/projects/stargazer/build
b/projects/stargazer/build
index a3b64c196b06e7df50ccdbf5279aaf693c5bdfa0..ff2269e125396821a7a0dbe247607e63c44ee253 100755
(executable)
--- a/
projects/stargazer/build
+++ b/
projects/stargazer/build
@@
-336,7
+336,9
@@
else
fi
echo -n "Checking for linux/netfilter_ipv4/ip_queue.h... "
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
$CC $CFLAGS $LDFLAGS build_check.c -lexpat -o fake > /dev/null 2> /dev/null
if [ $? != 0 ]
then