HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c036491
)
Include <unistd.h> if available.
author
Andreas Schwab
<schwab@suse.de>
Mon, 30 Aug 1999 15:05:17 +0000
(15:05 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Mon, 30 Aug 1999 15:05:17 +0000
(15:05 +0000)
lib-src/test-distrib.c
patch
|
blob
|
blame
|
history
diff --git
a/lib-src/test-distrib.c
b/lib-src/test-distrib.c
index
01897b8
..
79d899a
100644
(file)
--- 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. */