summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2010-02-04 10:25:28 +0000
committerPanu Matilainen <pmatilai@redhat.com>2010-02-04 17:59:19 +0200
commit16b94706e0a2ebed728389d0166a910eea5a2b7c (patch)
tree14bf97b4df59cbaa3763831ae9182f160fc927ad /misc
parent21962ab6142cd1e54f1087a545244de506d9abf1 (diff)
downloadrpm-16b94706e0a2ebed728389d0166a910eea5a2b7c.tar.gz
rpm-16b94706e0a2ebed728389d0166a910eea5a2b7c.tar.bz2
rpm-16b94706e0a2ebed728389d0166a910eea5a2b7c.zip
Fix compile when using a linker that defaults to --no-as-needed
Diffstat (limited to 'misc')
-rw-r--r--misc/glob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/glob.c b/misc/glob.c
index 28e6edda5..bf2dcb62a 100644
--- a/misc/glob.c
+++ b/misc/glob.c
@@ -28,6 +28,7 @@
# include <string.h>
# include <pwd.h>
# include <assert.h>
+# include <sys/stat.h> /* S_ISDIR */
#define __alloca alloca
#define __stat stat