Skip to content
Snippets Groups Projects
Commit 4b86603a authored by Brian's avatar Brian
Browse files

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.
parent b6528c59
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment