summaryrefslogtreecommitdiff
path: root/source3/tests/sysquotas.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests/sysquotas.c')
-rw-r--r--source3/tests/sysquotas.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/tests/sysquotas.c b/source3/tests/sysquotas.c
index 68f8a1c976..1544dca7cf 100644
--- a/source3/tests/sysquotas.c
+++ b/source3/tests/sysquotas.c
@@ -24,6 +24,12 @@
# include <sys/quota.h>
#endif
+#ifdef HPUX
+/* HPUX has no prototype for quotactl but we test compile with strict
+ error checks, which would fail without function prototype */
+extern int quotactl(int cmd, const char *special, uid_t uid, void *addr);
+#endif
+
#ifndef SYS_DQBLK
#define SYS_DQBLK dqblk
#endif