summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2020-05-11 14:07:08 +0900
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2020-07-06 10:04:07 +0900
commit72e8fe4e89162370dce4742f1b69ebfec3ac3928 (patch)
tree143621178246aedacbc9f59acd95cca61b1108b6 /src/console
parent404bc3934bcb0bbb5671a84ecb45c95069bc1ab3 (diff)
downloadDLT-daemon-72e8fe4e89162370dce4742f1b69ebfec3ac3928.tar.gz
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 <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/dlt-control.c2
1 files changed, 0 insertions, 2 deletions
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 <ctype.h> /* for isprint() */
#include <stdlib.h> /* for atoi() */
-#include <sys/stat.h> /* for S_IRUSR, S_IWUSR, S_IRGRP, S_IROTH */
-#include <fcntl.h> /* for open() */
#include <sys/uio.h> /* for writev() */
#include <string.h> /* for open() */