forked from mirrors/tftp-hpa-google
#include <sys/socket.h> if it exists;
Add option to control the max blksize negotiated.
This commit is contained in:
parent
b3941f251a
commit
530706aebe
6 changed files with 49 additions and 9 deletions
10
config.h
10
config.h
|
@ -96,7 +96,17 @@
|
|||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#ifdef HAVE_WINSOCK_H
|
||||
#include <winsock.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Test for EAGAIN/EWOULDBLOCK */
|
||||
#ifdef EAGAIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue