summaryrefslogtreecommitdiffstats
path: root/source3/tests/sysquotas.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests/sysquotas.c')
-rw-r--r--source3/tests/sysquotas.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/tests/sysquotas.c b/source3/tests/sysquotas.c
index bf16c8ba6e..53d3a67aa1 100644
--- a/source3/tests/sysquotas.c
+++ b/source3/tests/sysquotas.c
@@ -43,6 +43,10 @@
#elif defined(HAVE_QUOTACTL_4B)
/* int quotactl(const char *path, int cmd, int id, char *addr); */
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#ifdef HAVE_SYS_QUOTA_H
#include <sys/quota.h>
#else /* *BSD */