aboutsummaryrefslogtreecommitdiff
path: root/gas/config/ho-sunos.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/ho-sunos.h')
-rw-r--r--gas/config/ho-sunos.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/ho-sunos.h b/gas/config/ho-sunos.h
index 413d3d1..81c067c 100644
--- a/gas/config/ho-sunos.h
+++ b/gas/config/ho-sunos.h
@@ -4,10 +4,10 @@
#define NO_STDARG
#endif /* not __STDC__ */
-#ifndef __GNUC__
-#ifndef __STDC__
+#if !defined(__GNUC__) & !defined(__STDC__)
#include <memory.h>
-#endif
+#else
+extern int memset();
#endif
#include <ctype.h>