aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Brian <bsilver16384@gmail.com>2016-08-15 01:48:45 -0700
committerGravatar Brian <bsilver16384@gmail.com>2016-08-15 01:48:45 -0700
commit4b86603a2e3d24f53b18915fd8cb302dcf31e4cd (patch)
tree0901ebbf6e1183e5f77d400d69b55c07ff991138 /src
parentb6528c59a9a87ae5926ac9e4a11226a4ce490b36 (diff)
Remove <linux/unistd.h> include for compatibility with non-glibc
On my glibc (Debian Jessie amd64 if anybody cares) system, <linux/unistd.h> is a strict subset of <sys/sycall.h>, which the file is already including. musl libc doesn't provide this file, and with this change all the C++ tests pass with musl libc. This came up in bazelbuild/bazel#1492.
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/support/log_linux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/lib/support/log_linux.c b/src/core/lib/support/log_linux.c
index 508fae4eec..299b377373 100644
--- a/src/core/lib/support/log_linux.c
+++ b/src/core/lib/support/log_linux.c
@@ -47,7 +47,6 @@
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include <grpc/support/time.h>
-#include <linux/unistd.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>