summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorNathan McSween <nwmcsween@gmail.com>2016-02-18 23:34:30 +0000
committerNathan McSween <nwmcsween@gmail.com>2016-02-18 23:34:30 +0000
commite306723ec4290f8cd0fa08caf12bdc28afda5ed9 (patch)
tree800c16d63d27ba620c5a4d76de298aa111c9d085 /src/shared
parent48ddca5f3559c02f06cd03006eb11c6bab1a53e6 (diff)
Remove/add (un)needed includes
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/machine-image.c1
-rw-r--r--src/shared/machine-pool.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/machine-image.c b/src/shared/machine-image.c
index ed8a29c575..d2f1c4a40c 100644
--- a/src/shared/machine-image.c
+++ b/src/shared/machine-image.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/file.h>
#include <sys/stat.h>
#include <unistd.h>
#include <linux/fs.h>
diff --git a/src/shared/machine-pool.c b/src/shared/machine-pool.c
index e5674e4137..f080b849a4 100644
--- a/src/shared/machine-pool.c
+++ b/src/shared/machine-pool.c
@@ -24,6 +24,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
+#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/prctl.h>