summaryrefslogtreecommitdiffhomepage
path: root/crt
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-05 22:21:30 -0500
committermidipix <writeonce@midipix.org>2017-11-05 22:38:13 -0500
commit6f8ae442bbadc51a12ad6ce8fc94461bb1e632e8 (patch)
tree626b8589a247218ff422b1cfddfee21cbb8ec57e /crt
parente6ac10e460aefea0c6215699db45a27870291705 (diff)
downloadmmglue-6f8ae442bbadc51a12ad6ce8fc94461bb1e632e8.tar.bz2
mmglue-6f8ae442bbadc51a12ad6ce8fc94461bb1e632e8.tar.xz
psxglue.h: defined struct __psx_vtbl and struct __ldso_vtbl more elegantly.
Diffstat (limited to 'crt')
-rw-r--r--crt/nt32/Scrtldso.c2
-rw-r--r--crt/nt32/Scrtvrfs.c2
-rw-r--r--crt/nt32/crtdinga.c2
-rw-r--r--crt/nt32/crtldso.c2
-rw-r--r--crt/nt32/crtposix.c2
-rw-r--r--crt/nt32/crtvrfs.c2
-rw-r--r--crt/nt64/Scrtldso.c2
-rw-r--r--crt/nt64/Scrtvrfs.c2
-rw-r--r--crt/nt64/crtdinga.c2
-rw-r--r--crt/nt64/crtldso.c2
-rw-r--r--crt/nt64/crtposix.c2
-rw-r--r--crt/nt64/crtvrfs.c2
12 files changed, 24 insertions, 0 deletions
diff --git a/crt/nt32/Scrtldso.c b/crt/nt32/Scrtldso.c
index c3130b8..936a9d2 100644
--- a/crt/nt32/Scrtldso.c
+++ b/crt/nt32/Scrtldso.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
const int __crtopt_ldso = __PSXOPT_LDSO;
diff --git a/crt/nt32/Scrtvrfs.c b/crt/nt32/Scrtvrfs.c
index d22d444..bef26df 100644
--- a/crt/nt32/Scrtvrfs.c
+++ b/crt/nt32/Scrtvrfs.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
const int __crtopt_vrfs = __PSXOPT_VRFS;
diff --git a/crt/nt32/crtdinga.c b/crt/nt32/crtdinga.c
index 0ba2580..216fed8 100644
--- a/crt/nt32/crtdinga.c
+++ b/crt/nt32/crtdinga.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
const int __crtopt_dinga = __PSXOPT_DINGA;
diff --git a/crt/nt32/crtldso.c b/crt/nt32/crtldso.c
index bdc376e..2a46c84 100644
--- a/crt/nt32/crtldso.c
+++ b/crt/nt32/crtldso.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
#include "peldso.h"
diff --git a/crt/nt32/crtposix.c b/crt/nt32/crtposix.c
index b8e5113..f8e7664 100644
--- a/crt/nt32/crtposix.c
+++ b/crt/nt32/crtposix.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
const int __crtopt_posix = __PSXOPT_POSIX;
diff --git a/crt/nt32/crtvrfs.c b/crt/nt32/crtvrfs.c
index 3608ab8..4fa743c 100644
--- a/crt/nt32/crtvrfs.c
+++ b/crt/nt32/crtvrfs.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
#include "peldso.h"
diff --git a/crt/nt64/Scrtldso.c b/crt/nt64/Scrtldso.c
index c3130b8..936a9d2 100644
--- a/crt/nt64/Scrtldso.c
+++ b/crt/nt64/Scrtldso.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
const int __crtopt_ldso = __PSXOPT_LDSO;
diff --git a/crt/nt64/Scrtvrfs.c b/crt/nt64/Scrtvrfs.c
index d22d444..bef26df 100644
--- a/crt/nt64/Scrtvrfs.c
+++ b/crt/nt64/Scrtvrfs.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
const int __crtopt_vrfs = __PSXOPT_VRFS;
diff --git a/crt/nt64/crtdinga.c b/crt/nt64/crtdinga.c
index 0ba2580..216fed8 100644
--- a/crt/nt64/crtdinga.c
+++ b/crt/nt64/crtdinga.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
const int __crtopt_dinga = __PSXOPT_DINGA;
diff --git a/crt/nt64/crtldso.c b/crt/nt64/crtldso.c
index bdc376e..2a46c84 100644
--- a/crt/nt64/crtldso.c
+++ b/crt/nt64/crtldso.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
#include "peldso.h"
diff --git a/crt/nt64/crtposix.c b/crt/nt64/crtposix.c
index b8e5113..f8e7664 100644
--- a/crt/nt64/crtposix.c
+++ b/crt/nt64/crtposix.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
const int __crtopt_posix = __PSXOPT_POSIX;
diff --git a/crt/nt64/crtvrfs.c b/crt/nt64/crtvrfs.c
index 3608ab8..4fa743c 100644
--- a/crt/nt64/crtvrfs.c
+++ b/crt/nt64/crtvrfs.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+#include <stdint.h>
#include "psxglue.h"
#include "peldso.h"