#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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue