1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 07:39:50 -04:00

Removed inclusion of remaining system header files from configuration files.

These are included from lib/setup.h or specific source code file.
This commit is contained in:
Yang Tse 2008-07-14 16:58:34 +00:00
parent 1cfb73a129
commit 669c555874
3 changed files with 11 additions and 10 deletions

View File

@ -11,6 +11,8 @@ Yang Tse (14 Jul 2008)
file has been included. In this way if symbol is defined in the config file file has been included. In this way if symbol is defined in the config file
it will no longer be ignored. it will no longer be ignored.
- Removed inclusion of remaining system header files from configuration files.
Yang Tse (11 Jul 2008) Yang Tse (11 Jul 2008)
- Added missing multiple header inclusion prevention definition for header - Added missing multiple header inclusion prevention definition for header
file content_encoding.h file content_encoding.h

View File

@ -728,15 +728,5 @@
#define CURL_ICONV_CODESET_OF_HOST "IBM-1047" #define CURL_ICONV_CODESET_OF_HOST "IBM-1047"
#endif #endif
/* ---------------------------------------------------------------- */
/* HEADER FILES */
/* ---------------------------------------------------------------- */
#include <strings.h> /* for bzero, strcasecmp, and strncasecmp */
#include <string.h> /* for strcpy and strlen */
#include <stdlib.h> /* for rand and srand */
#include <sys/socket.h> /* for select and ioctl*/
#include <netdb.h> /* for in_addr_t definition */
#include <tpf/sysapi.h> /* for tpf_process_signals */
#endif /* __LIBCONFIGTPF_H */ #endif /* __LIBCONFIGTPF_H */

View File

@ -173,6 +173,15 @@
# include <extra/strdup.h> # include <extra/strdup.h>
#endif #endif
#ifdef TPF
# include <strings.h> /* for bzero, strcasecmp, and strncasecmp */
# include <string.h> /* for strcpy and strlen */
# include <stdlib.h> /* for rand and srand */
# include <sys/socket.h> /* for select and ioctl*/
# include <netdb.h> /* for in_addr_t definition */
# include <tpf/sysapi.h> /* for tpf_process_signals */
#endif
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_ASSERT_H #ifdef HAVE_ASSERT_H
#include <assert.h> #include <assert.h>