Include <unistd.h> if available.

This commit is contained in:
Andreas Schwab 1999-08-30 15:05:17 +00:00
parent c03649190c
commit 9ee8cf9e1a

View file

@ -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. */