0003-pqueue.h-include-sys-types.h.patch 814 B

123456789101112131415161718192021222324252627282930
  1. From 060ad28b9ca5e99d7c6e8010132da58a3a8a0585 Mon Sep 17 00:00:00 2001
  2. From: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. Date: Fri, 22 Jan 2016 10:19:18 -0300
  4. Subject: [PATCH] pqueue.h: include sys/types.h
  5. We're using u_int32_t here, this breaks on musl libc builds otherwise.
  6. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  7. ---
  8. Patch status: applied upstream:
  9. https://sourceforge.net/p/pptpclient/git/ci/ee8ef349d9543cb48045a27d1cdd801fc6e910e8/
  10. pqueue.h | 1 +
  11. 1 file changed, 1 insertion(+)
  12. diff --git a/pqueue.h b/pqueue.h
  13. index a56590f..8c60c62 100644
  14. --- a/pqueue.h
  15. +++ b/pqueue.h
  16. @@ -3,6 +3,7 @@
  17. #include <time.h>
  18. #include <sys/time.h>
  19. +#include <sys/types.h>
  20. /* wait this many seconds for missing packets before forgetting about them */
  21. #define DEFAULT_PACKET_TIMEOUT 0.3
  22. --
  23. 2.4.10