Mercurial > hg > toybox
changeset 519:c6b3bd689d0a
Fix build on slackware-current.
author | Georgi Chorbadzhiyski <gf@unixsol.org> |
---|---|
date | Sun, 04 Mar 2012 01:24:06 -0600 |
parents | e0eed40f4ab1 |
children | 3ee4c79971e9 |
files | scripts/genconfig.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/genconfig.sh Sun Mar 04 00:50:44 2012 -0600 +++ b/scripts/genconfig.sh Sun Mar 04 01:24:06 2012 -0600 @@ -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