changeset 12338:6d35e757e103

Oops, move the include of unistd.h in the last commit.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 Nov 2009 19:33:24 +0100
parents 9d131fdf3903
children ec411e51b85a
files lib/error.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 #else /* not _LIBC */
 
 # include <fcntl.h>
+# include <unistd.h>
 
 # if !HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P
 #  ifndef HAVE_DECL_STRERROR_R