#include "setup.h" moved first of all includes

This commit is contained in:
Daniel Stenberg 2000-08-24 14:26:33 +00:00
parent 400ca043c7
commit b6e18f2f66
21 changed files with 42 additions and 27 deletions

View File

@ -55,12 +55,13 @@ Example set of cookies:
13-Jun-1988 03:04:55 GMT; domain=.fidelity.com; path=/; secure
****/
#include "setup.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "cookie.h"
#include "setup.h"
#include "getdate.h"
#include "strequal.h"

View File

@ -38,6 +38,8 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@ -49,8 +51,6 @@
#include <errno.h>
#include "setup.h"
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h>
#include <time.h>

View File

@ -38,12 +38,12 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "setup.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

View File

@ -38,6 +38,8 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@ -49,7 +51,6 @@
#include <errno.h>
#include "setup.h"
#include "strequal.h"
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)

View File

@ -38,6 +38,8 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@ -49,8 +51,6 @@
#include <errno.h>
#include "setup.h"
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h>
#include <time.h>

View File

@ -49,6 +49,8 @@
*/
#include "setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -56,7 +58,6 @@
#include <time.h>
#include "setup.h"
#include <curl/curl.h>
#include "formdata.h"

View File

@ -38,6 +38,8 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@ -49,7 +51,6 @@
#include <errno.h>
#include "setup.h"
#include "strequal.h"
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)

View File

@ -38,12 +38,12 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
#include <string.h>
#include <malloc.h>
#include <errno.h>
#include "setup.h"
#define _REENTRANT
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)

View File

@ -38,6 +38,8 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@ -49,7 +51,6 @@
#include <errno.h>
#include "setup.h"
#ifdef NEED_REENTRANT
#define _REENTRANT /* Necessary to use in Solaris, since the silly guys at Sun

View File

@ -38,11 +38,12 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "setup.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>

View File

@ -38,6 +38,8 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@ -48,8 +50,6 @@
#include <sys/stat.h>
#include <errno.h>
#include "setup.h"
#if defined(WIN32) && !defined(__GNUC__)
#else
# ifdef HAVE_UNISTD_H

View File

@ -50,11 +50,12 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "setup.h"
#include "getenv.h"
#include "strequal.h"

View File

@ -38,9 +38,10 @@
* ------------------------------------------------------------
****************************************************************************/
#include <string.h>
#include "setup.h"
#include <string.h>
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#if defined(__MINGW32__)
#include <winsock.h>

View File

@ -38,12 +38,12 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include "setup.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

View File

@ -38,6 +38,8 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
#include <stdio.h>
#if defined(__MINGW32__)
#include <winsock.h>

View File

@ -43,7 +43,7 @@
* Linas Vepstas <linas@linas.org> and Sampo Kellomaki <sampo@iki.fi>
*/
#include "setup.h"
#include <string.h>
#include <stdlib.h>

View File

@ -38,10 +38,10 @@
* ------------------------------------------------------------
****************************************************************************/
#include <string.h>
#include "setup.h"
#include <string.h>
int strequal(const char *first, const char *second)
{
#if defined(HAVE_STRCASECMP)

View File

@ -46,6 +46,8 @@
*
****************************************************************************/
#include "setup.h"
/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
@ -57,8 +59,6 @@
#include <errno.h>
#include "setup.h"
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h>
#include <time.h>

View File

@ -39,6 +39,9 @@
****************************************************************************/
/* -- WIN32 approved -- */
#include "setup.h"
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
@ -49,7 +52,6 @@
#include <errno.h>
#include "setup.h"
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h>

View File

@ -38,10 +38,11 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
#include <string.h>
#include <stdio.h>
#include "setup.h"
#include <curl/curl.h>
#include "urldata.h"

View File

@ -38,6 +38,8 @@
* ------------------------------------------------------------
****************************************************************************/
#include "setup.h"
#include <stdio.h>
#include <string.h>