From 7cc19406631ec5997238274facc86c8a80dd6a64 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 25 Oct 2003 15:24:07 +0000 Subject: [PATCH] Include only if _LIBC. [!_LIBC]: Define-away __THROW, __BEGIN_DECLS, __END_DECLS. --- lib/fts_.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/fts_.h b/lib/fts_.h index c8c3cd0734..ed0cb1c256 100644 --- a/lib/fts_.h +++ b/lib/fts_.h @@ -32,7 +32,17 @@ #ifndef _FTS_H # define _FTS_H 1 -# include +# ifdef _LIBC +# include +# else +# undef __THROW +# define __THROW +# undef __BEGIN_DECLS +# define __BEGIN_DECLS +# undef __END_DECLS +# define __END_DECLS +# endif + # include typedef struct { -- 2.47.2