summaryrefslogtreecommitdiff
path: root/src/missing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/missing.h')
-rw-r--r--src/missing.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/missing.h b/src/missing.h
index 75bc5117f8..3b4cb9cdeb 100644
--- a/src/missing.h
+++ b/src/missing.h
@@ -26,6 +26,7 @@
#include <sys/resource.h>
#include <sys/syscall.h>
+#include <fcntl.h>
#ifndef RLIMIT_RTTIME
#define RLIMIT_RTTIME 15
@@ -43,6 +44,10 @@
#define F_GETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 8)
#endif
+#ifndef IP_FREEBIND
+#define IP_FREEBIND 15
+#endif
+
static inline int pivot_root(const char *new_root, const char *put_old) {
return syscall(SYS_pivot_root, new_root, put_old);
}