aboutsummaryrefslogtreecommitdiff
path: root/examples/system/childexec/child.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/system/childexec/child.c')
-rw-r--r--examples/system/childexec/child.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/system/childexec/child.c b/examples/system/childexec/child.c
index 2ed656b..2ddfa73 100644
--- a/examples/system/childexec/child.c
+++ b/examples/system/childexec/child.c
@@ -1,3 +1,4 @@
+#include <sys/types.h>
#include <stdio.h>
#include <psxapi.h>
#include <psxgpu.h>
@@ -22,7 +23,7 @@
typedef struct {
DISPENV disp; /* Display environment */
DRAWENV draw; /* Drawing environment */
- int ot[OT_LEN]; /* Ordering table */
+ u_long ot[OT_LEN]; /* Ordering table */
char p[PACKET_LEN]; /* Packet buffer */
} DB;