- fix winsock includes in client.c
This commit is contained in:
parent
7196f279df
commit
f7b708e432
|
@ -34,8 +34,8 @@
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#else
|
#else
|
||||||
#define uint32_t u_long
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
#include <ws2tcpip.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -1512,7 +1512,7 @@ client_plugin_initial_update(ClientPlugin *plug)
|
||||||
}
|
}
|
||||||
else if (func)
|
else if (func)
|
||||||
(*func)(line);
|
(*func)(line);
|
||||||
}
|
}
|
||||||
g_free(serve_name);
|
g_free(serve_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue