Mercurial > hg > octave-lojdl > gnulib-hg
changeset 16314:f25c774dd4b6
posix_spawn_file_actions_addopen: Fix 2012-01-08 commit.
* m4/posix_spawn.m4 (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN):
In the test program, include <fcntl.h>, for O_RDONLY.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 26 Jan 2012 18:11:47 +0100 |
parents | 8b91748dde8f |
children | 3cd17879cdb5 |
files | ChangeLog m4/posix_spawn.m4 |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-01-26 Bruno Haible <bruno@clisp.org> + + posix_spawn_file_actions_addopen: Fix 2012-01-08 commit. + * m4/posix_spawn.m4 (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN): + In the test program, include <fcntl.h>, for O_RDONLY. + 2012-01-26 Eric Blake <eblake@redhat.com> pipe2: document lack of thread-safety in replacement
--- a/m4/posix_spawn.m4 +++ b/m4/posix_spawn.m4 @@ -1,4 +1,4 @@ -# posix_spawn.m4 serial 10 +# posix_spawn.m4 serial 11 dnl Copyright (C) 2008-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -499,6 +499,7 @@ [AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include <spawn.h> +#include <fcntl.h> int main () { posix_spawn_file_actions_t actions;