--- src/logical.c.orig Wed Oct 5 01:54:14 2005 +++ src/logical.c Wed Oct 5 01:54:22 2005 @@ -17,6 +17,7 @@ */ #include <string.h> +#include <sys/types.h> #include <regex.h> #include <glib.h> #include <glib/gi18n.h>