diff -ur wmdots.orig/wmdots.c wmdots/wmdots.c
--- wmdots.orig/wmdots.c	1999-10-11 22:39:11.000000000 +0300
+++ wmdots/wmdots.c	2008-01-06 15:18:26.000000000 +0200
@@ -83,6 +83,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>
+#include <string.h>
 
 #include <X11/xpm.h>
 #include "../wmgeneral/wmgeneral.h"
