summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/ld_syscall.h2
-rw-r--r--ldso/ldso/syscall.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/ldso/ldso/ld_syscall.h b/ldso/ldso/ld_syscall.h
index 167e2ed15..ebc8739ea 100644
--- a/ldso/ldso/ld_syscall.h
+++ b/ldso/ldso/ld_syscall.h
@@ -1,5 +1,7 @@
+#include <sys/types.h>
#include "syscalls.h"
+
/* Here are the definitions for some syscalls that are used
by the dynamic linker. The idea is that we want to be able
to call these before the errno symbol is dynamicly linked, so
diff --git a/ldso/ldso/syscall.h b/ldso/ldso/syscall.h
index 167e2ed15..ebc8739ea 100644
--- a/ldso/ldso/syscall.h
+++ b/ldso/ldso/syscall.h
@@ -1,5 +1,7 @@
+#include <sys/types.h>
#include "syscalls.h"
+
/* Here are the definitions for some syscalls that are used
by the dynamic linker. The idea is that we want to be able
to call these before the errno symbol is dynamicly linked, so