* m4/posix_spawn.m4 (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN):
In the test program, include <fcntl.h>, for O_RDONLY.
+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
-# 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,
[AC_RUN_IFELSE(
[AC_LANG_SOURCE([[
#include <spawn.h>
+#include <fcntl.h>
int main ()
{
posix_spawn_file_actions_t actions;