From 9ee8cf9e1abd773b8278a5596b18c268861c2029 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 30 Aug 1999 15:05:17 +0000 Subject: [PATCH] Include if available. --- lib-src/test-distrib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c index 01897b83a7f..79d899a280c 100644 --- a/lib-src/test-distrib.c +++ b/lib-src/test-distrib.c @@ -10,11 +10,14 @@ #include +#ifdef HAVE_UNISTD_H +#include +#endif + #ifndef O_RDONLY #define O_RDONLY 0 #endif - /* Break string in two parts to avoid buggy C compilers that ignore characters after nulls in strings. */ -- 2.39.5