aboutsummaryrefslogtreecommitdiff
path: root/examples/system
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-11-18 17:23:25 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-11-18 17:23:25 +0100
commit619fa016bbc4ddd8d4a670cf3f8aa63617473b2f (patch)
tree3b526a071b715452beadf168e3c6fc898b5fe48c /examples/system
parent8b6a76055ca426c494e16042e21f5e19b870b2ac (diff)
downloadpsn00bsdk-619fa016bbc4ddd8d4a670cf3f8aa63617473b2f.tar.gz
Deprecated malloc.h, moved int*_t types to stdint.h
Diffstat (limited to 'examples/system')
-rw-r--r--examples/system/dynlink/library/balls.c2
-rw-r--r--examples/system/dynlink/library/cube.c2
-rw-r--r--examples/system/dynlink/library/dll_common.h1
-rw-r--r--examples/system/dynlink/main.c3
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/system/dynlink/library/balls.c b/examples/system/dynlink/library/balls.c
index 2a4d9f4..ef6993e 100644
--- a/examples/system/dynlink/library/balls.c
+++ b/examples/system/dynlink/library/balls.c
@@ -3,7 +3,7 @@
* (C) 2021 spicyjpeg - MPL licensed
*/
-#include <sys/types.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <psxgpu.h>
diff --git a/examples/system/dynlink/library/cube.c b/examples/system/dynlink/library/cube.c
index 57f3e56..84fe552 100644
--- a/examples/system/dynlink/library/cube.c
+++ b/examples/system/dynlink/library/cube.c
@@ -3,7 +3,7 @@
* (C) 2021 spicyjpeg - MPL licensed
*/
-#include <sys/types.h>
+#include <stdint.h>
#include <stdio.h>
#include <psxgpu.h>
#include <psxgte.h>
diff --git a/examples/system/dynlink/library/dll_common.h b/examples/system/dynlink/library/dll_common.h
index 4f9314b..315a993 100644
--- a/examples/system/dynlink/library/dll_common.h
+++ b/examples/system/dynlink/library/dll_common.h
@@ -6,6 +6,7 @@
#ifndef __DLL_COMMON_H
#define __DLL_COMMON_H
+#include <stdint.h>
#include <psxgpu.h>
/* Common structures shared by the main executable and DLLs */
diff --git a/examples/system/dynlink/main.c b/examples/system/dynlink/main.c
index 33f6f44..6d93e71 100644
--- a/examples/system/dynlink/main.c
+++ b/examples/system/dynlink/main.c
@@ -36,12 +36,11 @@
* as plugins/mods/patches stored on a memory card.
*/
-#include <sys/types.h>
+#include <stdint.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <malloc.h>
#include <dlfcn.h>
#include <psxapi.h>
#include <psxetc.h>