--- code/trunk/pcregrep.c 2007/03/29 09:13:21 136 +++ code/trunk/pcregrep.c 2007/03/29 13:56:00 137 @@ -50,9 +50,11 @@ #include #include -#include +#ifdef HAVE_UNISTD_H +# include +#endif -#include "pcre.h" +#include #define FALSE 0 #define TRUE 1 @@ -463,7 +465,7 @@ -#if ! HAVE_STRERROR +#ifndef HAVE_STRERROR /************************************************* * Provide strerror() for non-ANSI libraries * *************************************************/