From 1085ec48ccb7e049f1470a2e186146b920d9bc54 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Wed, 3 Jun 2009 18:24:48 +0200 Subject: [PATCH] Make it possible to compile without C99 --- src/conky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conky.c b/src/conky.c index 347bf7b8..718b9115 100644 --- a/src/conky.c +++ b/src/conky.c @@ -7316,7 +7316,8 @@ static void set_default_configurations(void) #ifdef HAVE_OPENMP #pragma omp parallel for #endif /* HAVE_OPENMP */ - for (int i = 0; i < MAX_TEMPLATES; i++) { + int i; + for (i = 0; i < MAX_TEMPLATES; i++) { template[i] = strdup(""); }