diff options
Diffstat (limited to 'rpmio/fts.c')
-rw-r--r-- | rpmio/fts.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rpmio/fts.c b/rpmio/fts.c index 8052281d9..57522aa37 100644 --- a/rpmio/fts.c +++ b/rpmio/fts.c @@ -45,6 +45,14 @@ static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94"; #include <string.h> #include <unistd.h> #else +#if defined(hpux) +# define _INCLUDE_POSIX_SOURCE +# define __errno_location() (&errno) +# define dirfd(dirp) -1 +# define stat64 stat +# define _STAT_VER 0 +# define __fxstat64(_stat_ver, _fd, _sbp) fstat((_fd), (_sbp)) +#endif #include "system.h" #include "fts.h" #include "rpmio.h" |