--- nix/libstore/build.cc 2013-08-29 15:35:16.289717070 +0200 +++ nix/libstore/build_fix.cc 2013-08-29 15:35:29.109889561 +0200 @@ -43,6 +43,20 @@ #include #endif +#ifndef CLONE_NEWPID +#define CLONE_NEWPID 0x20000000 /* New pid namespace */ +#endif +#ifndef CLONE_NEWNET +#define CLONE_NEWNET 0x40000000 /* New network namespace */ +#endif +#ifndef CLONE_NEWIPC +#define CLONE_NEWIPC 0x08000000 /* New ipcs */ +#endif +#ifndef CLONE_NEWUTS +#define CLONE_NEWUTS 0x04000000 /* New utsname group? */ +#endif + + /* In GNU libc 2.11, does not define `MS_PRIVATE', but does. */ #if !defined MS_PRIVATE && defined HAVE_LINUX_FS_H