aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/sort.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 1329b0f..f448555 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 4 17:15:26 2000 Philippe De Muyter <phdm@macqel.be>
+
+ * sort.h (sys/types.h): File included unconditionnaly.
+ (stddef.h): File include only #ifdef __STDC__.
+
2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
* symcat.h: Remove #endif label.
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" {