summaryrefslogtreecommitdiff
path: root/ldso/ldso/mips/dl-syscalls.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-29 22:31:12 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-29 22:31:12 +0000
commitf5980ff9299c469eb5c6920e67e9bf2b70925bba (patch)
treeccf5db83d81935b06f5416dd0680c8e2bb11ba09 /ldso/ldso/mips/dl-syscalls.h
parent7719784a54932bac1db98d46a1933f3b1bbd192d (diff)
More mips support from sjhill
Diffstat (limited to 'ldso/ldso/mips/dl-syscalls.h')
-rw-r--r--ldso/ldso/mips/dl-syscalls.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ldso/ldso/mips/dl-syscalls.h b/ldso/ldso/mips/dl-syscalls.h
index 2327219df..feb54d4cf 100644
--- a/ldso/ldso/mips/dl-syscalls.h
+++ b/ldso/ldso/mips/dl-syscalls.h
@@ -4,6 +4,12 @@
* Linux/MIPS 2.4.17 version kernel.
*/
+#ifndef _SYS_STAT_H
+#define _SYS_STAT_H
+
+#define new_stat stat
+#include <asm/stat.h>
+
#define __NR_SYSCALL_BASE 4000
#define __NR_exit (__NR_SYSCALL_BASE + 1)
@@ -135,3 +141,5 @@ type name(atype a, btype b, ctype c, dtype d) \
return (type) __v0; \
return (type) -1; \
}
+
+#endif