summaryrefslogtreecommitdiff
path: root/src/basic/missing.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2015-12-31 12:05:57 +0530
committerSusant Sahani <ssahani@gmail.com>2015-12-31 12:05:57 +0530
commit62bc4efc7a617791d43f4e6cbef857554e6dbe2e (patch)
tree45a7834db782be1c99e43f84e869aca580bee22a /src/basic/missing.h
parentb485d2003efe10e88dc806527954154de636ccb2 (diff)
core: socket options fix SCTP_NODELAY
SCTP_NODELAY is diffrent to TCP_NODELAY. Apply proper options in case of SCTP.
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r--src/basic/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index d539ed00e4..880e724cb4 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -131,6 +131,10 @@
#define NETLINK_LIST_MEMBERSHIPS 9
#endif
+#ifndef SOL_SCTP
+#define SOL_SCTP 132
+#endif
+
#if !HAVE_DECL_PIVOT_ROOT
static inline int pivot_root(const char *new_root, const char *put_old) {
return syscall(SYS_pivot_root, new_root, put_old);