projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20ec2f6
)
#include <sys/stdtypes.h> before <stddef.h> so that when we compile
author
Michael Tiemann
<tiemann@cygnus>
Tue, 11 Feb 1992 10:34:03 +0000
(10:34 +0000)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/gas/config/ho-sunos.h
b/gas/config/ho-sunos.h
index 180263245d8b580a506a3ef3300f6a10a2191a85..ef4b3cb154e74bfa58158b9f64d3dc9a497554d5 100644
(file)
--- 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>