diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-25 15:24:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-25 15:24:07 +0000 |
commit | 7cc19406631ec5997238274facc86c8a80dd6a64 (patch) | |
tree | 95e36ccf14b97965f201d8031b1000be4254c24a /lib | |
parent | 6dfffb70f2e2e9f503ca5161e5ddb782a698edd8 (diff) | |
download | coreutils-7cc19406631ec5997238274facc86c8a80dd6a64.tar.xz |
Include <features.h> only if _LIBC.
[!_LIBC]: Define-away __THROW, __BEGIN_DECLS, __END_DECLS.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fts_.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/fts_.h b/lib/fts_.h index c8c3cd073..ed0cb1c25 100644 --- a/lib/fts_.h +++ b/lib/fts_.h @@ -32,7 +32,17 @@ #ifndef _FTS_H # define _FTS_H 1 -# include <features.h> +# ifdef _LIBC +# include <features.h> +# else +# undef __THROW +# define __THROW +# undef __BEGIN_DECLS +# define __BEGIN_DECLS +# undef __END_DECLS +# define __END_DECLS +# endif + # include <sys/types.h> typedef struct { |