summaryrefslogtreecommitdiff
path: root/gcc/ginclude/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ginclude/stddef.h')
-rw-r--r--gcc/ginclude/stddef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
index 5014809b362..160f6342e6e 100644
--- a/gcc/ginclude/stddef.h
+++ b/gcc/ginclude/stddef.h
@@ -13,6 +13,10 @@
#define _ANSI_STDDEF_H
#endif
+#ifndef __sys_stdtypes_h
+/* This avoids lossage on SunOS but only if stdtypes.h comes first.
+ There's no way to win with the other order! Sun lossage. */
+
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
one less case to deal with in the following. */
#if defined (__BSD_NET2__) || defined (____386BSD____)
@@ -199,6 +203,8 @@ typedef __WCHAR_TYPE__ wchar_t;
#endif
#endif /* _ANSI_H_ */
+#endif /* __sys_stdtypes_h */
+
/* A null pointer constant. */
#if defined (_STDDEF_H) || defined (__need_NULL)