aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/config/ho-sunos.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/ho-sunos.h b/gas/config/ho-sunos.h
index 1802632..ef4b3cb 100644
--- a/gas/config/ho-sunos.h
+++ b/gas/config/ho-sunos.h
@@ -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>