musl-fix-includes.patch 337 B

1234567891011121314
  1. diff --git a/src/util/rand_xor.c b/src/util/rand_xor.c
  2. index 81b64f1ea71..14e6c9d27c3 100644
  3. --- a/src/util/rand_xor.c
  4. +++ b/src/util/rand_xor.c
  5. @@ -27,6 +27,8 @@
  6. #if !DETECT_OS_WINDOWS
  7. #if defined(HAVE_GETRANDOM)
  8. #include <sys/random.h>
  9. +#include <sys/types.h>
  10. +#include <sys/stat.h>
  11. #endif
  12. #include <unistd.h>
  13. #include <fcntl.h>