--- export/src/search.c 2006-08-29 21:11:07.000000000 +0200 +++ ../src/search.c 2006-08-29 21:18:07.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)