aboutsummaryrefslogtreecommitdiff
path: root/include/sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sort.h')
-rw-r--r--include/sort.h3
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" {