aboutsummaryrefslogtreecommitdiff
path: root/examples/io
diff options
context:
space:
mode:
Diffstat (limited to 'examples/io')
-rw-r--r--examples/io/pads/spi.c1
-rw-r--r--examples/io/pads/spi.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/io/pads/spi.c b/examples/io/pads/spi.c
index 43b5bc3..133782c 100644
--- a/examples/io/pads/spi.c
+++ b/examples/io/pads/spi.c
@@ -27,6 +27,7 @@
*/
#include <stdint.h>
+#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include <psxetc.h>
diff --git a/examples/io/pads/spi.h b/examples/io/pads/spi.h
index 7d4d75b..8c17df3 100644
--- a/examples/io/pads/spi.h
+++ b/examples/io/pads/spi.h
@@ -7,6 +7,7 @@
#define __SPI_H
#include <stdint.h>
+#include <stddef.h>
#include <psxpad.h>
// Maximum request/response length (34 bytes for pads, 140 for memory cards).