aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/config-tpf.h10
-rw-r--r--lib/setup.h9
2 files changed, 9 insertions, 10 deletions
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 <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 */
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 <extra/strdup.h>
#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>
#ifdef HAVE_ASSERT_H
#include <assert.h>