summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/loongson/include/cdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/arch/loongson/include/cdefs.h b/sys/arch/loongson/include/cdefs.h
new file mode 100644
index 00000000000..4b75be32450
--- /dev/null
+++ b/sys/arch/loongson/include/cdefs.h
@@ -0,0 +1,8 @@
+/* $OpenBSD: cdefs.h,v 1.1.1.1 2009/07/31 09:28:41 miod Exp $ */
+/* public domain */
+#include <mips64/cdefs.h>
+
+#if defined(lint) && !defined(__MIPSEL__)
+#define __MIPSEL__
+#undef __MIPSEB__
+#endif