changeset 25447:76e2d539ecad

Include <unistd.h> if available.
author Andreas Schwab <schwab@suse.de>
date Mon, 30 Aug 1999 15:05:17 +0000
parents 2a2d7ebaa018
children 95f7147cb572
files lib-src/test-distrib.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/test-distrib.c	Sun Aug 29 21:33:09 1999 +0000
+++ b/lib-src/test-distrib.c	Mon Aug 30 15:05:17 1999 +0000
@@ -10,11 +10,14 @@
 
 #include <stdio.h>
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#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.  */