summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libc')
-rw-r--r--c/src/lib/libc/printk.c1
-rw-r--r--c/src/lib/libc/stat.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libc/printk.c b/c/src/lib/libc/printk.c
index ff47f02682..3542fd465a 100644
--- a/c/src/lib/libc/printk.c
+++ b/c/src/lib/libc/printk.c
@@ -25,7 +25,6 @@
#include <stdarg.h>
#include <stdio.h>
#include <rtems/bspIo.h>
-/* #include <libcpu/cpu.h> */
/*-------------------------------------------------------------------------+
| Function: printNum
diff --git a/c/src/lib/libc/stat.c b/c/src/lib/libc/stat.c
index 60a098e929..e4e4f0be3b 100644
--- a/c/src/lib/libc/stat.c
+++ b/c/src/lib/libc/stat.c
@@ -39,6 +39,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
+#include <string.h>
#include <rtems/libio_.h>
#include <rtems/seterr.h>