From dbedfc318e2984238ee0acdb19a1a70fda8f4381 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Thu, 9 Jul 2009 09:45:28 -0700 Subject: include unix.h if it's available --- lib/replace/replace.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/replace/replace.h') diff --git a/lib/replace/replace.h b/lib/replace/replace.h index fe1f732acb..2db6aa1226 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -258,6 +258,10 @@ char *rep_realpath(const char *path, char *resolved_path); int rep_lchown(const char *fname,uid_t uid,gid_t gid); #endif +#ifdef HAVE_UNIX_H +#include +#endif + #ifndef HAVE_SETLINEBUF #define setlinebuf rep_setlinebuf void rep_setlinebuf(FILE *); -- cgit