diff options
author | André Draszik | 2019-02-06 19:26:53 -0600 |
---|---|---|
committer | Jérôme Forissier | 2019-02-11 07:16:10 -0600 |
commit | 7cfe73d895060f2504bc3a13a73215310eda3fb2 (patch) | |
tree | f00137dd6e6bc284d4d3231486d1bf3cf7d4ddb0 | |
parent | 254a3e3374282a8adecaa421819f6b34a5c4b47a (diff) | |
download | ti-optee-test-7cfe73d895060f2504bc3a13a73215310eda3fb2.tar.gz ti-optee-test-7cfe73d895060f2504bc3a13a73215310eda3fb2.tar.xz ti-optee-test-7cfe73d895060f2504bc3a13a73215310eda3fb2.zip |
sock_server: fix compilation against musl (sys/errno.h)
Compiling against musl-libc fails with the following error:
| In file included from .../host/xtest/sock_server.c:24:
| .../usr/include/sys/errno.h:1:2: error: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Werror=cpp]
| #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
| ^~~~~~~
Just remove the needless include.
Signed-off-by: André Draszik <andre.draszik@jci.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
-rw-r--r-- | host/xtest/sock_server.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/host/xtest/sock_server.c b/host/xtest/sock_server.c index 0d2ff06..1ba73d6 100644 --- a/host/xtest/sock_server.c +++ b/host/xtest/sock_server.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <netdb.h> | 21 | #include <netdb.h> |
22 | #include <netinet/in.h> | 22 | #include <netinet/in.h> |
23 | #include <poll.h> | 23 | #include <poll.h> |
24 | #include <sys/errno.h> | ||
25 | #include <sys/socket.h> | 24 | #include <sys/socket.h> |
26 | #include <unistd.h> | 25 | #include <unistd.h> |
27 | 26 | ||