Loading lib/connect.c +4 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,10 @@ #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif #ifdef HAVE_STDLIB_H #include <stdlib.h> /* required for free() prototype, without it, this crashes on macos 68K */ #endif #endif #include <stdio.h> Loading lib/getpass.c +1 −3 Original line number Diff line number Diff line Loading @@ -35,9 +35,7 @@ * Daniel Stenberg <daniel@haxx.se> */ #ifdef HAVE_CONFIG_H # include <config.h> #endif #include "setup.h" /* setup.h is required for read() prototype */ #ifndef HAVE_GETPASS_R Loading lib/hostip.c +3 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ #define _REENTRANT #if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__) #include <winsock.h> #else Loading @@ -47,6 +46,9 @@ #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif #ifdef HAVE_STDLIB_H #include <stdlib.h> /* required for free() prototypes */ #endif #ifdef VMS #include <inet.h> #include <stdlib.h> Loading lib/sendf.c +4 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,10 @@ #include <stdarg.h> #include <stdlib.h> #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> /* required for send() & recv() prototypes */ #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif Loading Loading
lib/connect.c +4 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,10 @@ #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif #ifdef HAVE_STDLIB_H #include <stdlib.h> /* required for free() prototype, without it, this crashes on macos 68K */ #endif #endif #include <stdio.h> Loading
lib/getpass.c +1 −3 Original line number Diff line number Diff line Loading @@ -35,9 +35,7 @@ * Daniel Stenberg <daniel@haxx.se> */ #ifdef HAVE_CONFIG_H # include <config.h> #endif #include "setup.h" /* setup.h is required for read() prototype */ #ifndef HAVE_GETPASS_R Loading
lib/hostip.c +3 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ #define _REENTRANT #if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__) #include <winsock.h> #else Loading @@ -47,6 +46,9 @@ #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif #ifdef HAVE_STDLIB_H #include <stdlib.h> /* required for free() prototypes */ #endif #ifdef VMS #include <inet.h> #include <stdlib.h> Loading
lib/sendf.c +4 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,10 @@ #include <stdarg.h> #include <stdlib.h> #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> /* required for send() & recv() prototypes */ #endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif Loading