fix zeroconf on windows

Change-Id: I54e5c284d7fe109fe2fe6b0f50b25acfc3868a71
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
tjenssen
2012-01-25 21:49:30 +01:00
committed by Friedemann Kleint
parent f933636717
commit 0b64fe80dc

View File

@@ -30,6 +30,10 @@
** **
**************************************************************************/ **************************************************************************/
//disable min max macros from windows headers,
//because we want to use the template methods from std
#define NOMINMAX
#include "mdnsderived.h" #include "mdnsderived.h"
#include "servicebrowser_p.h" #include "servicebrowser_p.h"
@@ -48,6 +52,11 @@
#include <QtCore/QtEndian> #include <QtCore/QtEndian>
#include <QtNetwork/QHostInfo> #include <QtNetwork/QHostInfo>
//the timeval struct under windows uses long instead of suseconds_t
#ifdef Q_OS_WIN
typedef long suseconds_t;
#endif
/*! /*!
\namespace ZeroConf \namespace ZeroConf