#include <sys/stdtypes.h> before <stddef.h> so that when we compile
authorMichael Tiemann <tiemann@cygnus>
Tue, 11 Feb 1992 10:34:03 +0000 (10:34 +0000)
committerMichael Tiemann <tiemann@cygnus>
Tue, 11 Feb 1992 10:34:03 +0000 (10:34 +0000)
with GCC, the compiler does not stumble over `size_t', `ptrdiff_t',
and `wchar_t'.  Also note that the comment in <stddef.h> says that we
have to #include <sys/stdtypes.h> before including <stddef.h> when on
a sun.

gas/config/ho-sunos.h

index 180263245d8b580a506a3ef3300f6a10a2191a85..ef4b3cb154e74bfa58158b9f64d3dc9a497554d5 100644 (file)
@@ -9,6 +9,9 @@
 #else
 extern int memset();
 #endif
+
+/* #include <sys/stdtypes.h> before <stddef.h> when compiling by GCC.  */
+#include <sys/stdtypes.h>
 #include <stddef.h>
 #include <ctype.h>
 #include <string.h>