mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01: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…
Reference in New Issue
Block a user