diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-02-23 14:04:57 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2011-05-14 13:43:49 +0200 |
commit | 520682e59647eadf697e6384021e6781164b11b0 (patch) | |
tree | 7a1e1c747f7ac16e32fff4534391205a3a01fc9e /include/bsd/stdio.h | |
parent | 4c01261f3963c51ac0ee0f2b539cbf9298e8cc26 (diff) | |
download | libbsd-520682e59647eadf697e6384021e6781164b11b0.tar.gz |
Add support for transparent compilation
This means that software being ported should not need to be modified in
the usual case, as the libbsd headers will take over the standard
namespace and fill the missing gaps, and include the system headers.
To use this the new libbsd-transparent.pc file can be used through
pkg-config, which should end up doing the right thing.
Diffstat (limited to 'include/bsd/stdio.h')
-rw-r--r-- | include/bsd/stdio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bsd/stdio.h b/include/bsd/stdio.h index 882f374..dfde0c3 100644 --- a/include/bsd/stdio.h +++ b/include/bsd/stdio.h @@ -29,7 +29,12 @@ #include <sys/cdefs.h> #include <sys/types.h> + +#ifdef LIBBSD_TRANSPARENT +#include_next <stdio.h> +#else #include <stdio.h> +#endif __BEGIN_DECLS const char *fmtcheck(const char *, const char *); |