From fa28fa191177b769a621f22f141d3d7515737b40 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 21 Jan 2009 22:21:40 +0000 Subject: - remove unavailable functionality upon request (Peter Mazinger) --- include/features.h | 2 ++ include/netdb.h | 2 +- include/protocols/timed.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/features.h b/include/features.h index c943c9e6e..1b401497d 100644 --- a/include/features.h +++ b/include/features.h @@ -34,7 +34,9 @@ #define __need_uClibc_config_h #include #undef __need_uClibc_config_h +#ifdef UCLIBC_INTERNAL #include +#endif /* For uClibc, always optimize for size -- this should disable * a lot of expensive inlining... diff --git a/include/netdb.h b/include/netdb.h index 7d76b9c26..99e02f050 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -27,7 +27,7 @@ #include #include -#ifdef __USE_MISC +#if defined __USE_MISC && defined __UCLIBC_HAS_RPC__ /* This is necessary to make this include file properly replace the Sun version. */ # include diff --git a/include/protocols/timed.h b/include/protocols/timed.h index da31f69b3..8101e9924 100644 --- a/include/protocols/timed.h +++ b/include/protocols/timed.h @@ -32,7 +32,9 @@ #ifndef _PROTOCOLS_TIMED_H #define _PROTOCOLS_TIMED_H 1 +#ifdef __UCLIBC_HAS_RPC__ #include +#endif /* * Time Synchronization Protocol -- cgit v1.2.3