aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-08-03 21:54:10 -0700
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-08-03 21:54:10 -0700
commit6dbe3e0f717a1d124798ae3d9dc18832b7140ea0 (patch)
tree9cbe97d96f5ef994aaf2b5d0a95fd0f17c25ca1f
parentbuild: make sure to expand all variables that are substituted. (diff)
downloadlxc-6dbe3e0f717a1d124798ae3d9dc18832b7140ea0.tar.gz
lxc-6dbe3e0f717a1d124798ae3d9dc18832b7140ea0.tar.bz2
lxc-6dbe3e0f717a1d124798ae3d9dc18832b7140ea0.zip
lxc: include sched.h to have a declaration of clone().lxc-0.8.0-rc2-gentoo
This avoids an implicit declaration.
-rw-r--r--src/lxc/namespace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c
index 3e6fc3a..1f7684e 100644
--- a/src/lxc/namespace.c
+++ b/src/lxc/namespace.c
@@ -30,6 +30,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <sched.h>
#include "namespace.h"
#include "log.h"