Include <features.h> only if _LIBC.

[!_LIBC]: Define-away __THROW, __BEGIN_DECLS, __END_DECLS.
This commit is contained in:
Jim Meyering committed 2003-10-25 15:24:07 +00:00
1 parent 6dfffb70f2
commit 7cc1940663
1 file changed
+11 -1
+11 -1
View File
@@ -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 {