musl-fix-includes.patch 461 B

12345678910111213141516171819202122
  1. --- a/src/util/rand_xor.c
  2. +++ b/src/util/rand_xor.c
  3. @@ -24,6 +24,8 @@
  4. #if defined(__linux__)
  5. #include <sys/file.h>
  6. +#include <sys/types.h>
  7. +#include <sys/stat.h>
  8. #include <unistd.h>
  9. #include <fcntl.h>
  10. #else
  11. --- ./src/gallium/winsys/svga/drm/vmw_screen.h.orig
  12. +++ ./src/gallium/winsys/svga/drm/vmw_screen.h
  13. @@ -34,7 +34,7 @@
  14. #ifndef VMW_SCREEN_H_
  15. #define VMW_SCREEN_H_
  16. -
  17. +#include <sys/stat.h>
  18. #include "pipe/p_compiler.h"
  19. #include "pipe/p_state.h"