diff options
author | Björn Jacke <bj@sernet.de> | 2012-07-01 14:35:55 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-09-02 01:00:40 +0200 |
commit | d3924859191ee07a7e52420aa03be3204e291b60 (patch) | |
tree | 37ee239b1d588474e3b511a04b19471502866a55 /source3/tests | |
parent | d5f845c0d3ca185181760bce3731d31a71db4f32 (diff) | |
download | samba-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.c | 4 |
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 */ |