summaryrefslogtreecommitdiff
path: root/rpmio/stubs.c
blob: 4b988c54613c9210102a452f0dd6bf382720343d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
 * \file rpmio/stubs.c
 */

/* 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(USE_GETMNTENT)
#include "misc/getmntent.c"
#endif

#if !defined(HAVE_REALPATH)
#include "misc/realpath.c"
#endif

#if !defined(HAVE_STPCPY)
#include "misc/stpcpy.c"
#endif

#if !defined(HAVE_STPNCPY)
#include "misc/stpncpy.c"
#endif

#if defined(USE_GNU_GLOB)
#include "misc/fnmatch.h"
#include "misc/fnmatch.c"
#include "misc/glob.h"
#include "misc/glob.c"
#endif