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/console/dlt-control.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/console') diff --git a/src/console/dlt-control.c b/src/console/dlt-control.c index d1edba9..190793a 100644 --- a/src/console/dlt-control.c +++ b/src/console/dlt-control.c @@ -54,8 +54,6 @@ #include /* for isprint() */ #include /* for atoi() */ -#include /* for S_IRUSR, S_IWUSR, S_IRGRP, S_IROTH */ -#include /* for open() */ #include /* for writev() */ #include /* for open() */ -- cgit v1.2.1