--- export/src/search.c 2007-08-31 00:02:46.000000000 +0200 +++ ../src/search.c 2007-08-31 00:03:08.000000000 +0200 @@ -45,6 +45,7 @@ * search.c: History and character search functions */ #include <stdlib.h> +#include <sys/types.h> #if defined(REGEX) #include <regex.h> #elif defined(REGEXP)