summaryrefslogtreecommitdiff
path: root/package/quota/0004-import-sys-cdefs.patch
blob: 9acd1fe4f95cdff2543e7a0045cd8563e2db2953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Add missing <sys/cdefs.h> include

quota.h uses the __P definition, so it must include <sys/cdefs.h>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Index: b/quota.h
===================================================================
--- a/quota.h
+++ b/quota.h
@@ -2,6 +2,7 @@
 #define GUARD_QUOTA_H
 
 #include <sys/types.h>
+#include <sys/cdefs.h>
 
 typedef u_int32_t qid_t;	/* Type in which we store ids in memory */
 typedef int64_t qsize_t;	/* Type in which we store size limitations */