Update zm_remote_camera.h

This commit is contained in:
guotie 2013-10-11 14:24:23 +08:00
parent b7e69f0104
commit e35c541715
1 changed files with 5 additions and 2 deletions

View File

@ -23,6 +23,9 @@
#include "zm_camera.h"
#include <string>
//#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
//
@ -40,8 +43,8 @@ protected:
std::string auth64;
protected:
struct hostent *hp;
struct sockaddr_in sa;
struct addrinfo *hp;
struct sockaddr *sa;
public:
RemoteCamera( int p_id, const std::string &p_proto, 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 );