Browse Source

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

master
Felix von Leitner 6 months ago
parent
commit
5211d82384
  1. 2
      socket/socket_accept4_flags.c
  2. 2
      socket/socket_accept6_flags.c

2
socket/socket_accept4_flags.c

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

2
socket/socket_accept6_flags.c

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