aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/port.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-08-13 16:28:53 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-08-13 16:28:53 -0700
commitb49f47d4f26b48392950029762cd33e6365657c6 (patch)
treefe962fb8a38fdc0d4b1061b07b9413297f380a1d /src/core/lib/iomgr/port.h
parent82b1a08e15e3fbc26e1fdd8c6ad4231b89391856 (diff)
linux version needs to be defined
Diffstat (limited to 'src/core/lib/iomgr/port.h')
-rw-r--r--src/core/lib/iomgr/port.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/port.h b/src/core/lib/iomgr/port.h
index 375f1844ac..4d728a75fb 100644
--- a/src/core/lib/iomgr/port.h
+++ b/src/core/lib/iomgr/port.h
@@ -60,6 +60,7 @@
#define GRPC_HAVE_IP_PKTINFO 1
#define GRPC_HAVE_MSG_NOSIGNAL 1
#define GRPC_HAVE_UNIX_SOCKET 1
+#include <linux/version.h>
#ifdef LINUX_VERSION_CODE
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0)
#define GRPC_LINUX_ERRQUEUE 1