Browse Source

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

master
Felix von Leitner 4 years ago
parent
commit
59c1427d8f
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      socket/socket_accept4.c
  2. +1
    -0
      socket/socket_accept6.c
  3. +1
    -0
      socket/socket_deferaccept.c

+ 1
- 0
socket/socket_accept4.c View File

@ -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
- 0
socket/socket_accept6.c View File

@ -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
- 0
socket/socket_deferaccept.c View File

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