freebsd_http_include.patch 343 B

1234567891011121314
  1. diff --git a/src/addons/http.c b/src/addons/http.c
  2. index fbaab52f4..32985a554 100644
  3. --- a/src/addons/http.c
  4. +++ b/src/addons/http.c
  5. @@ -56,6 +56,9 @@ typedef SOCKET ecs_http_socket_t;
  6. #include <strings.h>
  7. #include <signal.h>
  8. #include <fcntl.h>
  9. +#ifdef __FreeBSD__
  10. +#include <netinet/in.h>
  11. +#endif
  12. typedef int ecs_http_socket_t;
  13. #endif