0001-fix-missing-__P-definition-for-musl-compile.patch 1019 B

123456789101112131415161718192021222324252627282930313233343536
  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. Fixes:
  9. In file included from src/quota.h:40:0,
  10. from src/parse.c:26:
  11. src/linux/linux_quota.h:120:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’
  12. long quotactl __P((int, const char *, qid_t, caddr_t));
  13. ^~~
  14. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  15. ---
  16. src/linux/linux_quota.h | 1 +
  17. 1 file changed, 1 insertion(+)
  18. diff --git a/src/linux/linux_quota.h b/src/linux/linux_quota.h
  19. index 11f9871..2b29a89 100644
  20. --- a/src/linux/linux_quota.h
  21. +++ b/src/linux/linux_quota.h
  22. @@ -14,6 +14,7 @@
  23. #ifndef LINUX_QUOTA_H
  24. #define LINUX_QUOTA_H
  25. +#include <sys/cdefs.h>
  26. #include <sys/types.h>
  27. #include "system.h"
  28. --
  29. 2.16.1