X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fimsmap.c;h=fad6a8ca4dedf993df6257e681277f1ef84c60c4;hp=cb88c10a6cc6ea8bc0420b1418c81dd4d742f885;hb=96a411663168b0ba5432b407a83be55f3df0c802;hpb=0ed85ca0e4b0eae40a4f50a51d63f2f41e45373a diff --git a/hacks/imsmap.c b/hacks/imsmap.c index cb88c10a..fad6a8ca 100644 --- a/hacks/imsmap.c +++ b/hacks/imsmap.c @@ -16,6 +16,7 @@ #include #include +#include #include /* for gettimeofday() */ #include @@ -418,7 +419,7 @@ draw_map (Display *dpy, Window window) if (cycle_p) { struct timeval now; - static struct timeval then = { 0, }; + static struct timeval then = { 0, 0 }; unsigned long diff; #ifdef GETTIMEOFDAY_TWO_ARGS struct timezone tzp;