From: ellson Date: Wed, 9 Aug 2006 16:08:47 +0000 (+0000) Subject: include unistd.h if possible before attempting to define R_OK X-Git-Tag: LAST_LIBGRAPH~32^2~5991 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9943aa43bafd794902b8f0f4d347840d16ef5330;p=graphviz include unistd.h if possible before attempting to define R_OK --- diff --git a/ast_common.h.in b/ast_common.h.in index f57967e51..e51fb61f4 100644 --- a/ast_common.h.in +++ b/ast_common.h.in @@ -207,6 +207,10 @@ typedef int ssize_t; #endif #endif +#ifdef HAVE_UNISTD_H +#include +#endif + #ifndef MAXINT #define MAXINT INT_MAX #endif