summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-03-11 20:14:07 +0000
committerjbj <devnull@localhost>2000-03-11 20:14:07 +0000
commitbed2a465fe49ce05f9678e619d016a2d26649c98 (patch)
treec26c33d8eb97654cadd1862183276f504c377dd4 /system.h
parent5d662d2e9c0b18a1ddfb8ad929bf6edf3586fa3d (diff)
downloadlibrpm-tizen-bed2a465fe49ce05f9678e619d016a2d26649c98.tar.gz
librpm-tizen-bed2a465fe49ce05f9678e619d016a2d26649c98.tar.bz2
librpm-tizen-bed2a465fe49ce05f9678e619d016a2d26649c98.zip
fix: use glibc 2.1 glob/fnmatch everywhere.
CVS patchset: 3621 CVS date: 2000/03/11 20:14:07
Diffstat (limited to 'system.h')
-rw-r--r--system.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/system.h b/system.h
index ee891c4f0..8a03d5542 100644
--- a/system.h
+++ b/system.h
@@ -267,16 +267,17 @@ char *__progname;
/* ============== from misc/miscfn.h */
+#if !defined(USE_GNU_GLOB)
#if HAVE_FNMATCH_H
#include <fnmatch.h>
-#else
-#include "misc/fnmatch.h"
#endif
#if HAVE_GLOB_H
#include <glob.h>
+#endif
#else
#include "misc/glob.h"
+#include "misc/fnmatch.h"
#endif
#if ! HAVE_S_IFSOCK