From 72e8fe4e89162370dce4742f1b69ebfec3ac3928 Mon Sep 17 00:00:00 2001 From: Saya Sugiura Date: Mon, 11 May 2020 14:07:08 +0900 Subject: network trace: Include necessary headers Some components which links dlt seem to depend on following headers, which will be included by mqueue.h. - sys/types.h - fcntl.h So explicitly include them if mqueue interface is not supported in dlt_user.h. Also two headers are removed if dlt_used.h is included. Signed-off-by: Saya Sugiura --- src/daemon/dlt_daemon_socket.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/daemon/dlt_daemon_socket.c') diff --git a/src/daemon/dlt_daemon_socket.c b/src/daemon/dlt_daemon_socket.c index a2cf08a..50bf68e 100644 --- a/src/daemon/dlt_daemon_socket.c +++ b/src/daemon/dlt_daemon_socket.c @@ -34,7 +34,6 @@ #include /* for atoi() and exit() */ #include /* for memset() */ #include /* for close() */ -#include #include #include #include @@ -44,7 +43,6 @@ #ifdef linux # include #endif -#include #include #if defined(linux) && defined(__NR_statx) # include -- cgit v1.2.1