diff options
author | Kay Sievers <kay.sievers@suse.de> | 2010-07-01 17:44:13 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-01 17:44:13 +0200 |
commit | 16c42ce173e8c1e64b6d9275719a405c891b0d22 (patch) | |
tree | cc8fa8d51ef1bef346a32ac3e98f872f30c7bc05 /src/missing.h | |
parent | 8b03daeb580fbed7d89fd396ed89a8adda88b45f (diff) |
socket: define IP_FREEBIND if not defined
Diffstat (limited to 'src/missing.h')
-rw-r--r-- | src/missing.h | 5 |
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); } |