/*
- * $Id: quota.c,v 1.5 2001-05-07 20:05:32 rufustfirefly Exp $
+ * $Id: quota.c,v 1.9 2001-06-20 18:33:04 rufustfirefly Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
+#endif /* HAVE_CONFIG_H */
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/param.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif /* HAVE_UNISTD_H */
+#ifdef HAVE_FCNTL_H
#include <fcntl.h>
+#endif /* HAVE_FCNTL_H */
#include <syslog.h>
#include <atalk/afp.h>
{
return syscall(__NR_quotactl, cmd, special, id, addr);
}
-#endif
+#endif /* NEED_QUOTACTL_WRAPPER */
#if defined(HAVE_SYS_MNTTAB_H) || defined(__svr4__)
}
#else /* ultrix */
-#if defined(HAVE_MOUNT_H) || defined(BSD4_4) || defined(_IBMR2)
+#if (defined(HAVE_SYS_MOUNT_H) && !defined(__linux__)) || defined(BSD4_4) || defined(_IBMR2)
static char *
special( file, nfs )