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

This commit is contained in:
leitner 2021-04-08 11:08:47 +00:00
parent fc8aed5d39
commit 0579cb6a7b
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>