Windows build fixes
This commit is contained in:
@@ -41,7 +41,9 @@
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
#include "SysUtils.h"
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -30,10 +30,13 @@
|
||||
* Misc utilities
|
||||
*/
|
||||
|
||||
//#include "libztDebug.h"
|
||||
#include "Utilities.h"
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
|
||||
#include <WinSock2.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
int inet_pton4(const char *src, void *dst)
|
||||
{
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include "libztDebug.h"
|
||||
|
||||
#include <string.h>
|
||||
//void * memcpy(void * dst, const void * src, size_t n);
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user