#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:
Michael Tiemann 1992-02-11 10:34:03 +00:00
parent 20ec2f6c98
commit d68f75c44d

View file

@ -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>