summaryrefslogtreecommitdiffhomepage
path: root/src/ldso
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 /src/ldso
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 'src/ldso')
-rw-r--r--src/ldso/nt32/dynlink.c2
-rw-r--r--src/ldso/nt64/dynlink.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ldso/nt32/dynlink.c b/src/ldso/nt32/dynlink.c
index cd317d5..2426a72 100644
--- a/src/ldso/nt32/dynlink.c
+++ b/src/ldso/nt32/dynlink.c
@@ -1,5 +1,7 @@
#define _BSD_SOURCE
+#include <unistd.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>
diff --git a/src/ldso/nt64/dynlink.c b/src/ldso/nt64/dynlink.c
index cd317d5..2426a72 100644
--- a/src/ldso/nt64/dynlink.c
+++ b/src/ldso/nt64/dynlink.c
@@ -1,5 +1,7 @@
#define _BSD_SOURCE
+#include <unistd.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>