summaryrefslogtreecommitdiff
path: root/src/shared/missing.h
diff options
context:
space:
mode:
authorShawn Landden <shawnlandden@gmail.com>2013-07-08 18:28:14 +0000
committerLennart Poettering <lennart@poettering.net>2013-07-11 03:09:18 +0200
commitf7db7a691c3f532cf60886312459f2baea755283 (patch)
tree242efce2ac1d95b02892e7146bd632cfdb4d2e13 /src/shared/missing.h
parent4c5420a0c1429de866c4dfbe2f973cfa241bdbe4 (diff)
basic SO_REUSEPORT support
Diffstat (limited to 'src/shared/missing.h')
-rw-r--r--src/shared/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 24a8392b22..534b3ccd4e 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -266,3 +266,7 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
#ifndef TFD_TIMER_CANCEL_ON_SET
#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
#endif
+
+#ifndef SO_REUSEPORT
+#define SO_REUSEPORT 15
+#endif