diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-02 15:31:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-02 15:31:09 +0000 |
| commit | 0090ec430ae66abb068ba9e48f3ea1690b05e52d (patch) | |
| tree | 9aedcff40eb50f1fb3b0a4270c7c380a97b285ed /tools | |
| parent | 5f1259fd7f21021347ba8a84163bc40ed09ef4ba (diff) | |
missing sys/time.h
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/kdetrayproxy/kdetrayproxy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/kdetrayproxy/kdetrayproxy.c b/tools/kdetrayproxy/kdetrayproxy.c index 31a4d974..13d9952a 100644 --- a/tools/kdetrayproxy/kdetrayproxy.c +++ b/tools/kdetrayproxy/kdetrayproxy.c @@ -5,6 +5,7 @@ #include <string.h> #include <sys/select.h> #include <unistd.h> +#include <sys/time.h> 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); } |
