From 669c555874c7229cd95a494e36d826770460e8d7 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 14 Jul 2008 16:58:34 +0000 Subject: Removed inclusion of remaining system header files from configuration files. These are included from lib/setup.h or specific source code file. --- CHANGES | 2 ++ lib/config-tpf.h | 10 ---------- lib/setup.h | 9 +++++++++ 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGES b/CHANGES index e9a6c9ebc..b5bd740ef 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,8 @@ Yang Tse (14 Jul 2008) file has been included. In this way if symbol is defined in the config file it will no longer be ignored. +- Removed inclusion of remaining system header files from configuration files. + Yang Tse (11 Jul 2008) - Added missing multiple header inclusion prevention definition for header file content_encoding.h diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 85714b84b..ee86bab41 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -728,15 +728,5 @@ #define CURL_ICONV_CODESET_OF_HOST "IBM-1047" #endif -/* ---------------------------------------------------------------- */ -/* HEADER FILES */ -/* ---------------------------------------------------------------- */ - -#include /* for bzero, strcasecmp, and strncasecmp */ -#include /* for strcpy and strlen */ -#include /* for rand and srand */ -#include /* for select and ioctl*/ -#include /* for in_addr_t definition */ -#include /* for tpf_process_signals */ #endif /* __LIBCONFIGTPF_H */ diff --git a/lib/setup.h b/lib/setup.h index ba3ddce0c..e174e18e4 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -173,6 +173,15 @@ # include #endif +#ifdef TPF +# include /* for bzero, strcasecmp, and strncasecmp */ +# include /* for strcpy and strlen */ +# include /* for rand and srand */ +# include /* for select and ioctl*/ +# include /* for in_addr_t definition */ +# include /* for tpf_process_signals */ +#endif + #include #ifdef HAVE_ASSERT_H #include -- cgit v1.2.3