projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2af86b
)
Oops, move the include of unistd.h in the last commit.
author
Bruno Haible
<bruno@clisp.org>
Sun, 22 Nov 2009 18:33:24 +0000
(19:33 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 22 Nov 2009 18:33:24 +0000
(19:33 +0100)
lib/error.c
patch
|
blob
|
history
diff --git
a/lib/error.c
b/lib/error.c
index 80168a876589a15c1ce627a0e0799b7d41cd885c..1d63d571f5ba130f31122346dea8d716da4c8114 100644
(file)
--- a/
lib/error.c
+++ b/
lib/error.c
@@
-27,7
+27,6
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
#if !_LIBC && ENABLE_NLS
# include "gettext.h"
@@
-87,6
+86,7
@@
extern void __error_at_line (int status, int errnum, const char *file_name,
#else /* not _LIBC */
# include <fcntl.h>
+# include <unistd.h>
# if !HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P
# ifndef HAVE_DECL_STRERROR_R