1 Include fcntl.h to pacify compiler errors on musl
4 error: unknown type name 'loff_t'
5 Cover rpc headers under proper conditional
6 Dont use __P its undefined
8 Upstream-Status: Pending
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 ndex: quota-tools/quota.h
13 ===================================================================
14 Index: quota-tools/quota.h
15 ===================================================================
16 --- quota-tools.orig/quota.h
17 +++ quota-tools/quota.h
18 @@ -165,6 +165,6 @@ enum {
22 -long quotactl __P((int, const char *, qid_t, caddr_t));
23 +long quotactl (int, const char *, qid_t, caddr_t);
26 Index: quota-tools/quotacheck.c
27 ===================================================================
28 --- quota-tools.orig/quotacheck.c
29 +++ quota-tools/quotacheck.c
37 #include <sys/types.h>
38 Index: quota-tools/quotaio.c
39 ===================================================================
40 --- quota-tools.orig/quotaio.c
41 +++ quota-tools/quotaio.c
47 #include <sys/types.h>
50 Index: quota-tools/dqblk_v2.h
51 ===================================================================
52 --- quota-tools.orig/dqblk_v2.h
53 +++ quota-tools/dqblk_v2.h
55 #ifndef GUARD_DQBLK_V2_H
56 #define GUARD_DQBLK_V2_H
59 #include <sys/types.h>
60 #include "quota_tree.h"
62 Index: quota-tools/rquota_client.c
63 ===================================================================
64 --- quota-tools.orig/rquota_client.c
65 +++ quota-tools/rquota_client.c
73 #include <sys/types.h>
74 #include <sys/param.h>