From 73180fc762f015935950f697822710af3f5bd23d Mon Sep 17 00:00:00 2001 From: ManikandanC Date: Fri, 6 Oct 2017 11:37:31 +0530 Subject: Use poll in the dlt-daemon for POSIX compliance The poll system call is now used in the daemon to enable DLT use in POSIX compliant systems. Also added introduced new unregister_app macro to avoid missing of logs in startup buffer. Signed-off-by: Frederic Berat Signed-off-by: ManikandanC Signed-off-by: Saya Sugiura Signed-off-by: S. Hameed --- include/dlt/dlt_common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/dlt/dlt_common.h') diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index 2824efd..59b58fa 100644 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -76,7 +76,11 @@ */ #include +#ifdef __linux__ #include +#else +#include +#endif #if !defined(_MSC_VER) #include -- cgit v1.2.1