aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/config/ho-sunos.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/ho-sunos.h b/gas/config/ho-sunos.h
index 5d920f6..413d3d1 100644
--- a/gas/config/ho-sunos.h
+++ b/gas/config/ho-sunos.h
@@ -4,7 +4,11 @@
#define NO_STDARG
#endif /* not __STDC__ */
+#ifndef __GNUC__
+#ifndef __STDC__
#include <memory.h>
+#endif
+#endif
#include <ctype.h>
#include <string.h>