You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
829 B

  1. From 27f28950d4f9e44e776db5a5d2bc8d07df45eb30 Mon Sep 17 00:00:00 2001
  2. From: Willy Tarreau <w@1wt.eu>
  3. Date: Wed, 10 Aug 2016 18:30:56 +0200
  4. Subject: [PATCH 18/26] BUILD: log: iovec requires to include sys/uio.h on
  5. OpenBSD
  6. The following commit merged into 1.6-dev6 broke the build on OpenBSD :
  7. 609ac2a ("MEDIUM: log: replace sendto() with sendmsg() in __send_log()")
  8. Including sys/uio.h is enough to fix this. This fix needs to be backported
  9. to 1.6.
  10. (cherry picked from commit 077edcba2e5c25524b720f905417d9f0616cd252)
  11. ---
  12. src/log.c | 1 +
  13. 1 file changed, 1 insertion(+)
  14. diff --git a/src/log.c b/src/log.c
  15. index 1ddc06d..293a034 100644
  16. --- a/src/log.c
  17. +++ b/src/log.c
  18. @@ -22,6 +22,7 @@
  19. #include <errno.h>
  20. #include <sys/time.h>
  21. +#include <sys/uio.h>
  22. #include <common/config.h>
  23. #include <common/compat.h>
  24. --
  25. 2.7.3