2000-08-28 03:27:03 +08:00
|
|
|
/**
|
2002-11-19 23:07:08 +08:00
|
|
|
* \file rpmio/stubs.c
|
2000-08-28 03:27:03 +08:00
|
|
|
*/
|
|
|
|
|
1999-11-27 08:15:07 +08:00
|
|
|
/* XXX Portable shared libraries require rpmlib to contain these functions. */
|
|
|
|
|
|
|
|
#include "system.h"
|
|
|
|
|
|
|
|
#if !defined(HAVE_BASENAME)
|
|
|
|
#include "misc/basename.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_GETCWD)
|
|
|
|
#include "misc/getcwd.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_GETWD)
|
|
|
|
#include "misc/getwd.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_PUTENV)
|
|
|
|
#include "misc/putenv.c"
|
|
|
|
#endif
|
|
|
|
|
2001-02-28 05:30:27 +08:00
|
|
|
#if defined(USE_GETMNTENT)
|
|
|
|
#include "misc/getmntent.c"
|
|
|
|
#endif
|
|
|
|
|
1999-11-27 08:15:07 +08:00
|
|
|
#if !defined(HAVE_REALPATH)
|
|
|
|
#include "misc/realpath.c"
|
|
|
|
#endif
|
|
|
|
|
2000-02-25 07:33:58 +08:00
|
|
|
#if !defined(HAVE_SETENV)
|
|
|
|
#include "misc/setenv.c"
|
|
|
|
#endif
|
|
|
|
|
1999-11-27 08:15:07 +08:00
|
|
|
#if !defined(HAVE_STPCPY)
|
|
|
|
#include "misc/stpcpy.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_STPNCPY)
|
|
|
|
#include "misc/stpncpy.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_STRCSPN)
|
|
|
|
#include "misc/strcspn.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_STRSPN)
|
|
|
|
#include "misc/strdup.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_STRERROR)
|
|
|
|
#include "misc/error.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_STRTOL)
|
|
|
|
#include "misc/strtol.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_STRTOUL)
|
|
|
|
#include "misc/strtoul.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_STRSPN)
|
|
|
|
#include "misc/strspn.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_STRSTR)
|
|
|
|
#include "misc/strstr.c"
|
|
|
|
#endif
|
2000-03-11 04:49:09 +08:00
|
|
|
|
|
|
|
#if defined(USE_GNU_GLOB)
|
2005-01-28 14:36:29 +08:00
|
|
|
#include "misc/fnmatch.h"
|
2000-03-12 04:14:07 +08:00
|
|
|
#include "misc/fnmatch.c"
|
2005-01-28 14:36:29 +08:00
|
|
|
#include "misc/glob.h"
|
2000-03-11 04:49:09 +08:00
|
|
|
#include "misc/glob.c"
|
|
|
|
#endif
|