diff options
author | jbj <devnull@localhost> | 2002-08-31 22:39:34 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-08-31 22:39:34 +0000 |
commit | cc5d229b0e7a13f4d9efac2aed5926a0078df48c (patch) | |
tree | b5a1a608498f322dad0cd9534ccd9da4c121b3a0 /rpmio/fts.h | |
parent | 929d5d38346273dbdaf20e5ceb3b1687405676af (diff) | |
download | rpm-cc5d229b0e7a13f4d9efac2aed5926a0078df48c.tar.gz rpm-cc5d229b0e7a13f4d9efac2aed5926a0078df48c.tar.bz2 rpm-cc5d229b0e7a13f4d9efac2aed5926a0078df48c.zip |
Sync with rpm-4.1.
CVS patchset: 5695
CVS date: 2002/08/31 22:39:34
Diffstat (limited to 'rpmio/fts.h')
-rw-r--r-- | rpmio/fts.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 <features.h> +#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 <sys/types.h> #include <sys/stat.h> #include <dirent.h> |