Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2019-10-31 14:38:06 +0000
committerHenrik Rentz-Reichert2019-11-11 08:16:13 +0000
commit371151cc393c527ee5f9e8732884d4a38c11fdee (patch)
treea778b4541df3fa561073bd9dd45719df0b20be64 /runtime/org.eclipse.etrice.runtime.c/src/platforms
parentfec305de9ef1320952b9dc8fd388db1b42e4afeb (diff)
downloadorg.eclipse.etrice-371151cc393c527ee5f9e8732884d4a38c11fdee.tar.gz
org.eclipse.etrice-371151cc393c527ee5f9e8732884d4a38c11fdee.tar.xz
org.eclipse.etrice-371151cc393c527ee5f9e8732884d4a38c11fdee.zip
Bug 552599 - [runtime.c] fixed compile issue for linux
<bits/siginfo.h> only included for gcc major <= 4. Version 5 and newer doesn't seem to need this. Change-Id: Ifdd5c91ece56a0a527b2d64c92d750741c7148b4
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h
index c35952a98..8e1787558 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h
@@ -30,7 +30,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
-#include <bits/siginfo.h>
+#if __GNUC__ <= 4
+ #include <bits/siginfo.h>
+#endif
#include <time.h>
#include <stdio.h>
#include <pthread.h>

Back to the top