Module: kamailio
Branch: master
Commit: 6627098eb4adad706d20f6b73d1b7e75cc08a21f
URL:
https://github.com/kamailio/kamailio/commit/6627098eb4adad706d20f6b73d1b7e7…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2016-01-29T14:55:34+02:00
tcp: include netinet/tcp.h to make certain macros available
Following are tested: TCP_KEEPINTVL, TCP_KEEPIDLE, TCP_KEEPCNT
---
Modified: tcp_options.h
---
Diff:
https://github.com/kamailio/kamailio/commit/6627098eb4adad706d20f6b73d1b7e7…
Patch:
https://github.com/kamailio/kamailio/commit/6627098eb4adad706d20f6b73d1b7e7…
---
diff --git a/tcp_options.h b/tcp_options.h
index 7a134ae..d8da5f3 100644
--- a/tcp_options.h
+++ b/tcp_options.h
@@ -23,6 +23,7 @@
#ifdef USE_TCP
+#include <netinet/tcp.h>
#ifndef NO_TCP_ASYNC
#define TCP_ASYNC /* enabled async mode */
#endif