diff options
author | Philippe De Muyter <phdm@macqel.be> | 2000-05-04 17:40:25 +0200 |
---|---|---|
committer | Philippe De Muyter <phdm@gcc.gnu.org> | 2000-05-04 15:40:25 +0000 |
commit | 4aef973c2eae349b95773374d2f8afd0dded3e56 (patch) | |
tree | 8355a2a34485eb8d1c6612a2afbe686d538b5317 /include/sort.h | |
parent | 6b151aa7066643b8e54fb1ba6025001e12d69a4a (diff) | |
download | gcc-4aef973c2eae349b95773374d2f8afd0dded3e56.zip gcc-4aef973c2eae349b95773374d2f8afd0dded3e56.tar.gz gcc-4aef973c2eae349b95773374d2f8afd0dded3e56.tar.bz2 |
sort.h (sys/types.h): File included unconditionnaly.
* sort.h (sys/types.h): File included unconditionnaly.
(stddef.h): File include only #ifdef __STDC__.
* sort.c (UCHAR_MAX): Provide fallback definition.
From-SVN: r33670
Diffstat (limited to 'include/sort.h')
-rw-r--r-- | include/sort.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sort.h b/include/sort.h index c205757..c8e1d55 100644 --- a/include/sort.h +++ b/include/sort.h @@ -22,7 +22,10 @@ Boston, MA 02111-1307, USA. */ #ifndef SORT_H #define SORT_H +#include <sys/types.h> /* For size_t */ +#ifdef __STDC__ #include <stddef.h> +#endif /* __STDC__ */ #ifdef __cplusplus extern "C" { |