]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Include tweak.
authorBruno Haible <bruno@clisp.org>
Fri, 4 Apr 2003 10:36:33 +0000 (10:36 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:20 +0000 (12:10 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/xgetcwd.c

index a49e167bb1aa16a7cf39602de192fa644d574d06..8546ea7499e23bda552acb6212fee8d9653584a0 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-30  Bruno Haible  <bruno@clisp.org>
+
+       * xgetcwd.c: Include <unistd.h>.
+
 2003-04-03  Bruno Haible  <bruno@clisp.org>
 
        * w32spawn.h (dup_noinherit): Signal an error instead of returning -1.
index 401f0802a685155554a89873468e3190a096a60b..64b5338faf1277bd0724b1fa9bedfe84f6c8b215 100644 (file)
@@ -1,5 +1,5 @@
 /* xgetcwd.c -- return current directory with unlimited length
-   Copyright (C) 1992, 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1996, 2000, 2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -29,6 +29,10 @@ extern int errno;
 #endif
 
 #include <sys/types.h>
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
 #include "pathmax.h"
 
 #if HAVE_GETCWD