aboutsummaryrefslogtreecommitdiff
path: root/scripts/genconfig.sh
diff options
context:
space:
mode:
authorGeorgi Chorbadzhiyski <gf@unixsol.org>2012-03-04 01:24:06 -0600
committerGeorgi Chorbadzhiyski <gf@unixsol.org>2012-03-04 01:24:06 -0600
commit2c27fcfa8d1509567d39851dad8f847c70bcdfb7 (patch)
tree743de6bed12d0e991eb1d89c0e2160082907a24b /scripts/genconfig.sh
parent405e73ce65cf048c49c6e57a62f60c3f9c83faf8 (diff)
downloadtoybox-2c27fcfa8d1509567d39851dad8f847c70bcdfb7.tar.gz
Fix build on slackware-current.
Diffstat (limited to 'scripts/genconfig.sh')
-rwxr-xr-xscripts/genconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh
index 449ee1ea..f6779548 100755
--- a/scripts/genconfig.sh
+++ b/scripts/genconfig.sh
@@ -14,7 +14,7 @@ probeconfig()
echo -e "# container support\nconfig TOYBOX_CONTAINER\n\tbool" || return 1
${CROSS_COMPILE}${CC} -c -xc -o /dev/null - 2>/dev/null << EOF
- #include <sched.h>
+ #include <linux/sched.h>
int x=CLONE_NEWNS|CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET;
EOF
[ $? -eq 0 ] && DEFAULT=y || DEFAULT=n