summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libcsupport/src/fcntl.c1
-rw-r--r--cpukit/libcsupport/src/privateenv.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/fcntl.c b/cpukit/libcsupport/src/fcntl.c
index cd31374030..6c2aa1da11 100644
--- a/cpukit/libcsupport/src/fcntl.c
+++ b/cpukit/libcsupport/src/fcntl.c
@@ -15,6 +15,7 @@
#include "config.h"
#endif
+#include <stdarg.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
diff --git a/cpukit/libcsupport/src/privateenv.c b/cpukit/libcsupport/src/privateenv.c
index 7b1e5d1e8e..93dff453c5 100644
--- a/cpukit/libcsupport/src/privateenv.c
+++ b/cpukit/libcsupport/src/privateenv.c
@@ -17,6 +17,8 @@
#include "config.h"
#endif
+#include <stdlib.h> /* free */
+
#include <rtems.h>
#include <rtems/libio.h>
#include <rtems/libio_.h>