diff --git a/include/sys/types.h b/include/sys/types.h
index c4390334b4319e57dab5303c4284c4a7c3098a4a..c4048845afc17f45a0ae99d907331fdaa56f4557 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -1,5 +1,6 @@
 #ifndef _SYS_TYPES_H
 #define _SYS_TYPES_H
+#include <stddef.h>
 
 typedef long blksize_t;
 typedef long dev_t;