From c9b2e5b7aebf4567aff3dffea224016508b6e0bf Mon Sep 17 00:00:00 2001 From: "Asanka C. Herath" Date: Wed, 24 Nov 2010 12:15:08 -0500 Subject: [PATCH] Include unistd only if its there --- base/baselocl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/baselocl.h b/base/baselocl.h index fe85b7ef9..8de3b7109 100644 --- a/base/baselocl.h +++ b/base/baselocl.h @@ -38,10 +38,13 @@ #include #include #include -#include #include "config.h" +#ifdef HAVE_UNISTD_H +#include +#endif + #include "heimqueue.h" #include "heim_threads.h" #include "heimbase.h"