summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-07 14:28:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-07 14:29:20 +0100
commite94b73f34583b08198ad212c4b8d987b3107a53e (patch)
tree23afca245be81d6f0e5a46f8cc4319c8ff814379
parentconfig: Move definitions after includes (diff)
downloadrtems-e94b73f34583b08198ad212c4b8d987b3107a53e.tar.bz2
config: Include <rtems.h> for RTEMS_NEWLIB
-rw-r--r--cpukit/libcsupport/src/getreentglobal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/getreentglobal.c b/cpukit/libcsupport/src/getreentglobal.c
index 775b4462cc..ba1e4bfe06 100644
--- a/cpukit/libcsupport/src/getreentglobal.c
+++ b/cpukit/libcsupport/src/getreentglobal.c
@@ -16,6 +16,8 @@
#include "config.h"
#endif
+#include <rtems.h>
+
#if defined(RTEMS_NEWLIB)
#include <sys/reent.h>