aboutsummaryrefslogtreecommitdiff
path: root/examples/system
diff options
context:
space:
mode:
Diffstat (limited to 'examples/system')
-rw-r--r--examples/system/childexec/parent.c2
-rw-r--r--examples/system/console/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/system/childexec/parent.c b/examples/system/childexec/parent.c
index 79c81f1..cfed11c 100644
--- a/examples/system/childexec/parent.c
+++ b/examples/system/childexec/parent.c
@@ -273,7 +273,7 @@ extern char child_exe[];
void run_child(void) {
// Arguments for the child program
- char *args[] =
+ const char *args[] =
{
"SAMPLE=0",
"SESSION=1",
diff --git a/examples/system/console/main.c b/examples/system/console/main.c
index b4f91b4..845ca95 100644
--- a/examples/system/console/main.c
+++ b/examples/system/console/main.c
@@ -25,7 +25,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <ioctl.h>
+#include <sys/ioctl.h>
#include <sys/fcntl.h>
#include <psxapi.h>
#include <psxetc.h>