mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 03:45:08 +02:00
include winsock2 from HifiSockAddr
This commit is contained in:
parent
8b19982e61
commit
b87c04444e
2 changed files with 6 additions and 2 deletions
|
@ -9,8 +9,6 @@
|
|||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <QtCore/QDataStream>
|
||||
#include <QtNetwork/QHostInfo>
|
||||
#include <QtNetwork/QNetworkInterface>
|
||||
|
|
|
@ -12,6 +12,12 @@
|
|||
#ifndef hifi_HifiSockAddr_h
|
||||
#define hifi_HifiSockAddr_h
|
||||
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
#include <QtNetwork/QHostAddress>
|
||||
|
||||
class HifiSockAddr {
|
||||
|
|
Loading…
Reference in a new issue