summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 1437e7b2..1a663997 100644
--- a/defines.h
+++ b/defines.h
@@ -106,6 +106,10 @@ typedef int64_t quad_t;
typedef unsigned int socklen_t;
#endif /* HAVE_SOCKLEN_T */
+#ifndef HAVE_SIZE_T
+typedef unsigned int size_t;
+#endif /* HAVE_SIZE_T */
+
/* Paths */
/* If _PATH_LASTLOG is not defined by system headers, set it to the */