it's fcntl.h not sys/fcntl.h

master
leitner 3 years ago
parent fc8aed5d39
commit 0579cb6a7b

@ -4,7 +4,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <errno.h>
#include <sys/fcntl.h>
#include <fcntl.h>
#include <unistd.h>
#endif
#include <string.h>

@ -4,7 +4,7 @@
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <sys/fcntl.h>
#include <fcntl.h>
#ifndef __MINGW32__
#include <sys/socket.h>
#include <netinet/in.h>

Loading…
Cancel
Save