include netinet/in.h for FreeBSD so that we can do ipv6 ip lookups

pull/1624/head
Isaac Connor 2016-03-28 05:39:26 -04:00
parent 31a5252afa
commit 96ff5ec619
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@
#ifdef SOLARIS
#include <sys/filio.h> // FIONREAD and friends
#endif
#ifdef __FreeBSD__
#include <netinet/in.h>
#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 )