From 96ff5ec6197b380043afaeed6d2a6fa769d3ba7e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 28 Mar 2016 05:39:26 -0400 Subject: [PATCH] include netinet/in.h for FreeBSD so that we can do ipv6 ip lookups --- src/zm_remote_camera_http.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zm_remote_camera_http.cpp b/src/zm_remote_camera_http.cpp index 5babc0b0e..f713266e5 100644 --- a/src/zm_remote_camera_http.cpp +++ b/src/zm_remote_camera_http.cpp @@ -30,6 +30,9 @@ #ifdef SOLARIS #include // FIONREAD and friends #endif +#ifdef __FreeBSD__ +#include +#endif RemoteCameraHttp::RemoteCameraHttp( int p_id, const std::string &p_method, const std::string &p_host, const std::string &p_port, const std::string &p_path, int p_width, int p_height, int p_colours, int p_brightness, int p_contrast, int p_hue, int p_colour, bool p_capture, bool p_record_audio ) : RemoteCamera( p_id, "http", p_host, p_port, p_path, p_width, p_height, p_colours, p_brightness, p_contrast, p_hue, p_colour, p_capture, p_record_audio )