aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-08-27 15:14:58 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-08-27 15:14:58 -0700
commit86530acca735b6ba49dee12bfc7e80d86d49c0cb (patch)
tree390a33dee45d438d45b3a5137922f7b6cc652b0a
parenta144c132011e4a7a51e519560b4cf657ea3dc099 (diff)
Include linux/version.h in port_platform.h
-rw-r--r--include/grpc/impl/codegen/port_platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index 8d9bd83285..b2028a6305 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
@@ -174,6 +174,7 @@
#ifdef __GLIBC__
#define GPR_POSIX_CRASH_HANDLER 1
#define GPR_LINUX_PTHREAD_NAME 1
+#include <linux/version.h>
#else /* musl libc */
#define GPR_MUSL_LIBC_COMPAT 1
#endif