diff --git a/Makefile b/Makefile
index 10e47d3..34c2283 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = git-20120221
+VERSION = git-20120227
 
 CC      = gcc
 CFLAGS  = -ansi -Wall -pedantic -O2
diff --git a/main.c b/main.c
index d6fb6f9..bf1835c 100644
--- a/main.c
+++ b/main.c
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/select.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <X11/Xutil.h>