Browse Source

add #include <string.h> for memset/strcpy

master
Felix von Leitner 5 years ago
parent
commit
59c1427d8f
  1. 1
      socket/socket_accept4.c
  2. 1
      socket/socket_accept6.c
  3. 1
      socket/socket_deferaccept.c

1
socket/socket_accept4.c

@ -3,6 +3,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#endif
#include <string.h>
#include "windoze.h"
#include "socket.h"
#include "havesl.h"

1
socket/socket_accept6.c

@ -1,5 +1,6 @@
#include <sys/param.h>
#include <sys/types.h>
#include <string.h>
#ifndef __MINGW32__
#include <sys/socket.h>
#include <netinet/in.h>

1
socket/socket_deferaccept.c

@ -1,6 +1,7 @@
#include "socket.h"
#include <sys/types.h>
#include <string.h>
#ifndef __MINGW32__
#include <sys/socket.h>
#include <netinet/in.h>

Loading…
Cancel
Save