]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch
quotatool: new package
[coffee/buildroot.git] / package / quotatool / 0001-fix-missing-__P-definition-for-musl-compile.patch
1 From 0e096badc901f755f3bcefabdc57091725a5a0c5 Mon Sep 17 00:00:00 2001
2 From: Peter Seiderer <ps.report@gmx.net>
3 Date: Thu, 1 Feb 2018 23:50:43 +0100
4 Subject: [PATCH] fix missing __P definition for musl compile
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Fixes:
10
11   In file included from src/quota.h:40:0,
12                    from src/parse.c:26:
13   src/linux/linux_quota.h:120:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’
14    long quotactl __P((int, const char *, qid_t, caddr_t));
15                  ^~~
16
17 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
18 ---
19  src/linux/linux_quota.h | 1 +
20  1 file changed, 1 insertion(+)
21
22 diff --git a/src/linux/linux_quota.h b/src/linux/linux_quota.h
23 index 11f9871..2b29a89 100644
24 --- a/src/linux/linux_quota.h
25 +++ b/src/linux/linux_quota.h
26 @@ -14,6 +14,7 @@
27  #ifndef LINUX_QUOTA_H
28  #define LINUX_QUOTA_H
29  
30 +#include <sys/cdefs.h>
31  #include <sys/types.h>
32  #include "system.h"
33  
34 -- 
35 2.16.1
36