X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=main.c;h=022d5ec94adbc55724f2edbde8ca83ab809dcf07;hp=aaa8877f12c5e06043860a2ecb9edd2887dc0c79;hb=c25bc063f35aaad6938c2022dae7a283346c2769;hpb=9218fd9d7e2a7976b34683c60cb94f7fda42141a diff --git a/main.c b/main.c index aaa8877..022d5ec 100644 --- a/main.c +++ b/main.c @@ -42,6 +42,9 @@ #ifdef HAVE_GETOPT_H #include +#else +extern char *optarg; +extern int optind; #endif #ifdef HAVE_LIBIDN @@ -56,7 +59,7 @@ #include #endif -#if USE_HCACHE +#ifdef USE_HCACHE #if HAVE_QDBM #include #elif HAVE_GDBM @@ -229,7 +232,7 @@ static void show_version (void) printf (" libESMTP %s\n", buf); #endif -#if USE_HCACHE +#ifdef USE_HCACHE #if HAVE_QDBM printf (" qdbm %s\n", dpversion); #elif HAVE_GDBM @@ -297,7 +300,7 @@ static void show_version (void) #else "-USE_INODESORT " #endif -#if USE_HCACHE +#ifdef USE_HCACHE "+USE_HCACHE " #else "-USE_HCACHE " @@ -573,8 +576,6 @@ int main (int argc, char **argv) int i; int explicit_folder = 0; int dump_variables = -1; - extern char *optarg; - extern int optind; /* initialize random number for tmp file creation */ srand ((unsigned int) time (NULL));