diff lib-src/test-distrib.c @ 25447:76e2d539ecad

Include <unistd.h> if available.
author Andreas Schwab <schwab@suse.de>
date Mon, 30 Aug 1999 15:05:17 +0000
parents 55e427250ad3
children 134b57acef68
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.  */