commit | 2c27fcfa8d1509567d39851dad8f847c70bcdfb7 | [log] [tgz] |
---|---|---|
author | Georgi Chorbadzhiyski <gf@unixsol.org> | Sun Mar 04 01:24:06 2012 -0600 |
committer | Georgi Chorbadzhiyski <gf@unixsol.org> | Sun Mar 04 01:24:06 2012 -0600 |
tree | 743de6bed12d0e991eb1d89c0e2160082907a24b | |
parent | 405e73ce65cf048c49c6e57a62f60c3f9c83faf8 [diff] [blame] |
Fix build on slackware-current.
diff --git a/scripts/genconfig.sh b/scripts/genconfig.sh index 449ee1e..f677954 100755 --- a/scripts/genconfig.sh +++ b/scripts/genconfig.sh
@@ -14,7 +14,7 @@ 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