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 --- include/dlt/dlt_user.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h index 41484b6..a3741fa 100644 --- a/include/dlt/dlt_user.h +++ b/include/dlt/dlt_user.h @@ -76,6 +76,9 @@ #ifdef DLT_NETWORK_TRACE_ENABLE # include +#else +# include +# include #endif # include -- cgit v1.2.1