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:
@@ -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
@@ -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)
|
||||
|
||||
@@ -8,6 +8,7 @@ lib/xreadlink.c
|
||||
Depends-on:
|
||||
readlink
|
||||
ssize_t
|
||||
unistd
|
||||
xalloc
|
||||
|
||||
configure.ac:
|
||||
|
||||
@@ -8,6 +8,7 @@ lib/xreadlink-with-size.c
|
||||
Depends-on:
|
||||
readlink
|
||||
ssize_t
|
||||
unistd
|
||||
xalloc
|
||||
|
||||
configure.ac:
|
||||
|
||||
Reference in New Issue
Block a user