diff options
| author | Andreas Schwab <schwab@suse.de> | 1999-08-30 15:05:17 +0000 |
|---|---|---|
| committer | Andreas Schwab <schwab@suse.de> | 1999-08-30 15:05:17 +0000 |
| commit | 9ee8cf9e1abd773b8278a5596b18c268861c2029 (patch) | |
| tree | 54ecdd5561bc6d9cbe91921818dd7d08a320034c | |
| parent | c03649190c8835e9dfd89eb5f8745ee7e757f007 (diff) | |
| download | emacs-9ee8cf9e1abd773b8278a5596b18c268861c2029.tar.gz | |
Include <unistd.h> if available.
| -rw-r--r-- | lib-src/test-distrib.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <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. */ |
