client: don't include socket headers
The client code uses portable GLib I/O functions and doesn't need the OS specific socket headers.
This commit is contained in:
parent
caf48ee973
commit
a0afd0369f
10
src/client.c
10
src/client.c
@ -35,16 +35,6 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <ws2tcpip.h>
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "client"
|
||||
|
Loading…
Reference in New Issue
Block a user