summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-29 10:36:45 +1100
committerDamien Miller <djm@mindrot.org>1999-12-29 10:36:45 +1100
commit9505851f31c52cbb76866225679fdceb788dcc5e (patch)
tree9c27bccffcf4da90c32ea6f672821786b31ea9c5 /defines.h
parentac3a4b4a96d952a467e1cdf660f9d471e1141f6f (diff)
- Detect missing size_t and typedef it.
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 */