summaryrefslogtreecommitdiff
path: root/examples/libc/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libc/memory.c')
-rw-r--r--examples/libc/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libc/memory.c b/examples/libc/memory.c
index 063d90cfdc..4a31b69017 100644
--- a/examples/libc/memory.c
+++ b/examples/libc/memory.c
@@ -11,7 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <finsh.h>
-#include <errno.h>
+#include <sys/errno.h>
static int errors = 0;
static void merror(const char *msg)