1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00

xreadlink and xreadlink-with-size can include <unistd.h> unconditionally and

therefore assume module 'unistd'.
This commit is contained in:
Bruno Haible
2007-03-03 19:20:41 +00:00
parent ed73a419e1
commit 535388620f
4 changed files with 10 additions and 4 deletions
+7 -1
View File
@@ -1,3 +1,9 @@
2007-03-03 Bruno Haible <bruno@clisp.org>
* lib/xreadlink.c: Include <unistd.h> unconditionally.
* modules/xreadlink (Depends-on): Add unistd.
* modules/xreadlink-with-size (Depends-on): Likewise.
2007-03-03 Bruno Haible <bruno@clisp.org>
* m4/setenv.m4 (gl_FUNC_SETENV, gl_FUNC_UNSETENV): New macros,
@@ -26143,4 +26149,4 @@
* m4/largefile.m4: Remove file (now that it's part of autoconf).
2000-06-04 Paul Eggert <eggert@twinsun.com>
2000-06-04 Paul Eggert <eggert@twinsun.com>
+1 -3
View File
@@ -31,9 +31,7 @@
#include <limits.h>
#include <sys/types.h>
#include <stdlib.h>
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#ifndef SIZE_MAX
# define SIZE_MAX ((size_t) -1)
+1
View File
@@ -8,6 +8,7 @@ lib/xreadlink.c
Depends-on:
readlink
ssize_t
unistd
xalloc
configure.ac:
+1
View File
@@ -8,6 +8,7 @@ lib/xreadlink-with-size.c
Depends-on:
readlink
ssize_t
unistd
xalloc
configure.ac: