aboutsummaryrefslogtreecommitdiff
path: root/examples/io
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2022-03-20 10:56:23 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2022-03-20 10:56:23 +0100
commit4bbfe640a8c357137524e797a8d2bd0a94d3abfa (patch)
treecd1b0ac173ffb2e27d8116637434f413e18542f4 /examples/io
parent8c68b4b8a5bf7757b8e4d6bc2f68f10584b0deb1 (diff)
downloadpsn00bsdk-4bbfe640a8c357137524e797a8d2bd0a94d3abfa.tar.gz
Remove stdint.h, fix n00bdemo crashing
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).