summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-07-01 14:35:55 +0200
committerBjoern Jacke <bj@sernet.de>2012-09-02 01:00:40 +0200
commitd3924859191ee07a7e52420aa03be3204e291b60 (patch)
tree37ee239b1d588474e3b511a04b19471502866a55 /source3/tests
parentd5f845c0d3ca185181760bce3731d31a71db4f32 (diff)
downloadsamba-d3924859191ee07a7e52420aa03be3204e291b60.tar.gz
samba-d3924859191ee07a7e52420aa03be3204e291b60.tar.bz2
samba-d3924859191ee07a7e52420aa03be3204e291b60.zip
s3: add sysquotas_4B support
this is from James Peach's darwin patch, that exists since a couple of years already. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 2 01:00:41 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/tests')
-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 */