build: Add missing network headers needed on Linux

This commit is contained in:
Joni Räsänen 2021-06-02 14:02:15 +03:00
parent 399f74e772
commit 4413a65da4
9 changed files with 39 additions and 1 deletions

View File

@ -7,6 +7,11 @@
#include <string>
#ifndef _WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#endif
namespace uvgrtp {
// forward declarations

View File

@ -5,6 +5,11 @@
#include "util.hh"
#ifndef _WIN32
#include <netinet/in.h>
#endif
namespace uvgrtp {
namespace frame {

View File

@ -5,6 +5,10 @@
#include "util.hh"
#ifndef _WIN32
#include <netinet/in.h>
#endif
namespace uvgrtp {
namespace frame {

View File

@ -5,6 +5,10 @@
#include "util.hh"
#ifndef _WIN32
#include <netinet/in.h>
#endif
namespace uvgrtp {
typedef struct zrtp_session zrtp_session_t;

View File

@ -4,6 +4,10 @@
#include "util.hh"
#ifndef _WIN32
#include <netinet/in.h>
#endif
namespace uvgrtp {
typedef struct zrtp_session zrtp_session_t;

View File

@ -4,6 +4,10 @@
#include "util.hh"
#ifndef _WIN32
#include <netinet/in.h>
#endif
namespace uvgrtp {
class socket;

View File

@ -4,6 +4,10 @@
#include "util.hh"
#ifndef _WIN32
#include <netinet/in.h>
#endif
namespace uvgrtp {
typedef struct capabilities zrtp_capab_t;
@ -16,7 +20,7 @@ namespace uvgrtp {
};
namespace zrtp_msg {
class receiver;
PACK(struct zrtp_hello {

View File

@ -4,6 +4,10 @@
#include "util.hh"
#ifndef _WIN32
#include <netinet/in.h>
#endif
namespace uvgrtp {
class socket;

View File

@ -2,6 +2,10 @@
#include "util.hh"
#ifndef _WIN32
#include <netinet/in.h>
#endif
namespace uvgrtp {
class socket;