summaryrefslogtreecommitdiff
path: root/ldso/ldso/arm/dl-syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/arm/dl-syscalls.h')
-rw-r--r--ldso/ldso/arm/dl-syscalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldso/ldso/arm/dl-syscalls.h b/ldso/ldso/arm/dl-syscalls.h
index f0f4baed8..4b42a57e0 100644
--- a/ldso/ldso/arm/dl-syscalls.h
+++ b/ldso/ldso/arm/dl-syscalls.h
@@ -1,6 +1,7 @@
/* We can't use the real errno in ldso, since it has not yet
* been dynamicly linked in yet. */
+#include "sys/syscall.h"
extern int _dl_errno;
+#undef __set_errno
#define __set_errno(X) {(_dl_errno) = (X);}
-#include "sys/syscall.h"