summaryrefslogtreecommitdiff
path: root/src/internal/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/syscall.h')
-rw-r--r--src/internal/syscall.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/syscall.h b/src/internal/syscall.h
index 5db18b05..16edf30a 100644
--- a/src/internal/syscall.h
+++ b/src/internal/syscall.h
@@ -299,6 +299,13 @@ hidden long __syscall_ret(unsigned long),
#define __SC_recvmmsg 19
#define __SC_sendmmsg 20
+#ifndef SO_RCVTIMEO_OLD
+#define SO_RCVTIMEO_OLD 20
+#endif
+#ifndef SO_SNDTIMEO_OLD
+#define SO_SNDTIMEO_OLD 21
+#endif
+
#ifdef SYS_open
#define __sys_open2(x,pn,fl) __syscall2(SYS_open, pn, (fl)|O_LARGEFILE)
#define __sys_open3(x,pn,fl,mo) __syscall3(SYS_open, pn, (fl)|O_LARGEFILE, mo)