diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-01-21 22:21:40 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-01-21 22:21:40 +0000 |
commit | fa28fa191177b769a621f22f141d3d7515737b40 (patch) | |
tree | a2224c0b82c3a1771abc98173fd00799893b1f1e /include | |
parent | 3f1adc3da04a7809171c3990770d72f28c5d80e4 (diff) |
- remove unavailable functionality upon request (Peter Mazinger)
Diffstat (limited to 'include')
-rw-r--r-- | include/features.h | 2 | ||||
-rw-r--r-- | include/netdb.h | 2 | ||||
-rw-r--r-- | include/protocols/timed.h | 2 |
3 files changed, 5 insertions, 1 deletions
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 <bits/uClibc_config.h> #undef __need_uClibc_config_h +#ifdef UCLIBC_INTERNAL #include <bits/uClibc_arch_features.h> +#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 <netinet/in.h> #include <stdint.h> -#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 <rpc/netdb.h> 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 <rpc/types.h> +#endif /* * Time Synchronization Protocol |