0001-Fix-build-against-the-musl-C-library.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. From 42efa6d76a3b52f35e576a6b941a9afb5b3879e9 Mon Sep 17 00:00:00 2001
  2. From: Sergio Prado <sergio.prado@e-labworks.com>
  3. Date: Tue, 9 Jan 2018 21:39:27 -0200
  4. Subject: [PATCH] Fix build against the musl C library
  5. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
  6. ---
  7. os-daq-modules/daq_ipfw.c | 2 +-
  8. os-daq-modules/daq_ipq.c | 2 +-
  9. os-daq-modules/daq_nfq.c | 2 +-
  10. 3 files changed, 3 insertions(+), 3 deletions(-)
  11. diff --git a/os-daq-modules/daq_ipfw.c b/os-daq-modules/daq_ipfw.c
  12. index 016beb06ad61..98f67717f646 100644
  13. --- a/os-daq-modules/daq_ipfw.c
  14. +++ b/os-daq-modules/daq_ipfw.c
  15. @@ -26,7 +26,7 @@
  16. #include <sys/types.h>
  17. #include <sys/time.h>
  18. -#include <sys/unistd.h>
  19. +#include <unistd.h>
  20. #include <netinet/in.h>
  21. #include <sys/socket.h>
  22. diff --git a/os-daq-modules/daq_ipq.c b/os-daq-modules/daq_ipq.c
  23. index 77ec6e9505e5..b15e5cf82af0 100644
  24. --- a/os-daq-modules/daq_ipq.c
  25. +++ b/os-daq-modules/daq_ipq.c
  26. @@ -27,7 +27,7 @@
  27. #include <sys/types.h>
  28. #include <sys/time.h>
  29. -#include <sys/unistd.h>
  30. +#include <unistd.h>
  31. #include <netinet/ip.h>
  32. diff --git a/os-daq-modules/daq_nfq.c b/os-daq-modules/daq_nfq.c
  33. index 33021c0ec991..0df1e61c74c4 100644
  34. --- a/os-daq-modules/daq_nfq.c
  35. +++ b/os-daq-modules/daq_nfq.c
  36. @@ -27,7 +27,7 @@
  37. #include <sys/types.h>
  38. #include <sys/time.h>
  39. -#include <sys/unistd.h>
  40. +#include <unistd.h>
  41. #include <netinet/ip.h>
  42. --
  43. 1.9.1