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_client.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/daemon/dlt_daemon_client.c') diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c index c47c808..3560910 100644 --- a/src/daemon/dlt_daemon_client.c +++ b/src/daemon/dlt_daemon_client.c @@ -33,7 +33,6 @@ #include /* for atoi() and exit() */ #include /* for memset() */ #include /* for close() */ -#include #include #include #include @@ -42,7 +41,6 @@ #ifdef linux # include #endif -#include #include #if defined(linux) && defined(__NR_statx) # include -- cgit v1.2.1