Hello! Attached patch includes the sched.h header in src/lxc/namespace.c, because that is where clone(2) says this function is declared and it seems fragile to rely on indirect inclusion of that header.
Best regards, Dennis
--- lxc-0.8.0-rc2/src/lxc/namespace.c.orig 2012-10-01 14:41:46.000000000 +0200 +++ lxc-0.8.0-rc2/src/lxc/namespace.c 2012-10-01 14:42:34.000000000 +0200 @@ -30,6 +30,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> +#include <sched.h> #include "namespace.h" #include "log.h"
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel