diff options
-rw-r--r-- | poptconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poptconfig.c b/poptconfig.c index b8e1da6..036b104 100644 --- a/poptconfig.c +++ b/poptconfig.c @@ -500,7 +500,6 @@ int poptReadDefaultConfig(poptContext con, /*@unused@*/ UNUSED(int useEnv)) { static const char _popt_alias[] = POPT_ALIAS; char * home; - struct stat sb; int rc = 0; /* assume success */ if (con->appName == NULL) goto exit; @@ -509,6 +508,7 @@ int poptReadDefaultConfig(poptContext con, /*@unused@*/ UNUSED(int useEnv)) if (rc) goto exit; #if defined(HAVE_GLOB_H) + struct stat sb; if (!stat("SYSCONFDIR/popt.d", &sb) && S_ISDIR(sb.st_mode)) { const char ** av = NULL; int ac = 0; |