From cc5d229b0e7a13f4d9efac2aed5926a0078df48c Mon Sep 17 00:00:00 2001 From: jbj Date: Sat, 31 Aug 2002 22:39:34 +0000 Subject: Sync with rpm-4.1. CVS patchset: 5695 CVS date: 2002/08/31 22:39:34 --- rpmio/fts.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'rpmio/fts.h') diff --git a/rpmio/fts.h b/rpmio/fts.h index e01768096..1f65a48ff 100644 --- a/rpmio/fts.h +++ b/rpmio/fts.h @@ -32,7 +32,27 @@ #ifndef _FTS_H #define _FTS_H 1 +#if defined(__GLIBC__) #include +#else + +# define __THROW +#ifdef __cplusplus +# define __BEGIN_DECLS extern "C" { +# define __END_DECLS } +#else +# define __BEGIN_DECLS +# define __END_DECLS +#endif + +#if defined(hpux) +# define _D_EXACT_NAMLEN(d) ((d)->d_namlen) +# define _INCLUDE_POSIX_SOURCE +# define _LARGEFILE64_SOURCE +#endif + +#endif + #include #include #include -- cgit v1.2.3