Fix compile when using a linker that defaults to --no-as-needed
authorRichard Hughes <richard@hughsie.com>
Thu, 4 Feb 2010 10:25:28 +0000 (10:25 +0000)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 4 Feb 2010 15:59:19 +0000 (17:59 +0200)
misc/glob.c

index 28e6edd..bf2dcb6 100644 (file)
@@ -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