From: Adam Dickmeiss Date: Mon, 3 Oct 2011 12:49:52 +0000 (+0200) Subject: chdir may be defined in unistd.h X-Git-Tag: v1.6.4~5^2~34 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=74580d1462b54e3659ea399c2352e44d8febfc4b;p=pazpar2-moved-to-github.git chdir may be defined in unistd.h --- diff --git a/src/pazpar2.c b/src/pazpar2.c index f51fa9e..585c0f8 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -23,6 +23,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifdef WIN32 #include #endif +#if HAVE_UNISTD_H +#include +#endif #include #include