--- a/lib/common.c Fri Nov 26 11:23:19 2010 +0100
+++ b/lib/common.c Sat Nov 27 17:02:54 2010 +0100
@@ -37,6 +37,8 @@
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
+#include <unistd.h>
+#include <sys/socket.h>
#include "master.h"
#include "master/ioctl.h"