hc
2023-11-20 2e7bd41e4e8ab3d1efdabd9e263a2f7fe79bff8c
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 */