mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02:00
gwin32networkmonitor: fix build with MSVC
Don't include unistd.h unconditionally.
This commit is contained in:
parent
5e2fa022e2
commit
03d06c175f
@ -21,7 +21,10 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user