From: Dana Jansens Date: Sat, 2 Aug 2003 15:31:09 +0000 (+0000) Subject: missing sys/time.h X-Git-Tag: openbox-3_0-rc1-RELEASE~673 X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=commitdiff_plain;h=0090ec430ae66abb068ba9e48f3ea1690b05e52d missing sys/time.h --- diff --git a/tools/kdetrayproxy/kdetrayproxy.c b/tools/kdetrayproxy/kdetrayproxy.c index 31a4d97..13d9952 100644 --- a/tools/kdetrayproxy/kdetrayproxy.c +++ b/tools/kdetrayproxy/kdetrayproxy.c @@ -5,6 +5,7 @@ #include #include #include +#include typedef struct IList { Window win; @@ -180,7 +181,8 @@ void updatehint() wins = malloc(sizeof(int) * n); for (it = list, i = 0; it; it = it->next, ++i) wins[i] = it->win; - } + } else + wins = NULL; XChangeProperty(display, root, roothint, XA_WINDOW, 32, PropModeReplace, (unsigned char*) wins, n); }