0001-Fix-musl-compile.patch 708 B

123456789101112131415161718192021222324252627282930313233
  1. From 6d42be24b62b94df8e2f01956842b7ee4b640e97 Mon Sep 17 00:00:00 2001
  2. From: Peter Seiderer <ps.report@gmx.net>
  3. Date: Mon, 11 Jul 2016 22:07:42 +0200
  4. Subject: [PATCH] Fix musl compile.
  5. Unconditional include <asm/types.h> for __u32 type.
  6. Fixes:
  7. error: unknown type name '__u32'
  8. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  9. ---
  10. fbset.h | 2 --
  11. 1 file changed, 2 deletions(-)
  12. diff --git a/fbset.h b/fbset.h
  13. index 9b1d2ac..3c511e1 100644
  14. --- a/fbset.h
  15. +++ b/fbset.h
  16. @@ -15,9 +15,7 @@
  17. #include <stdio.h>
  18. #include <sys/types.h>
  19. -#ifdef __GLIBC__
  20. #include <asm/types.h>
  21. -#endif
  22. #define VERSION "Linux Frame Buffer Device Configuration " \
  23. "Version 2.1 (23/06/1999)\n" \
  24. --
  25. 2.8.1