#include <sys/stdtypes.h> before <stddef.h> so that when we compile
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.
This commit is contained in:
parent
20ec2f6c98
commit
d68f75c44d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user