diff options
author | jbj <devnull@localhost> | 1999-04-14 11:42:35 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-04-14 11:42:35 +0000 |
commit | 9c6e100351d70b9d3724be36858baf72d6e23b72 (patch) | |
tree | d16a86565ed4c069be0b38f62e87624742afa3cc /tools | |
parent | 527e1bc4e0430a08f5a897ecee4feecdd57a6875 (diff) | |
download | rpm-9c6e100351d70b9d3724be36858baf72d6e23b72.tar.gz rpm-9c6e100351d70b9d3724be36858baf72d6e23b72.tar.bz2 rpm-9c6e100351d70b9d3724be36858baf72d6e23b72.zip |
basename prototype.
CVS patchset: 2994
CVS date: 1999/04/14 11:42:35
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rpmgettext.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/rpmgettext.c b/tools/rpmgettext.c index e04d206bc..d72359579 100644 --- a/tools/rpmgettext.c +++ b/tools/rpmgettext.c @@ -11,12 +11,8 @@ #include "signature.h" #include "header.h" -/* include libgen.h here and only here! It has the prototype for basename() - * on many OSes, but some of the prototypes in libgen.h clash with prototypes - * from other header files (e.g. regex.h) on some OSes (e.g. AIX 4.x). - */ -#ifdef HAVE_LIBGEN_H -#include <libgen.h> +#if !defined(HAVE_BASENAME) +extern char *basename (const char *__filename); #endif #define MYDEBUG 2 |