hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
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 */