From: Daniel Richard G Date: Fri, 14 Oct 2011 23:35:34 +0000 (+0200) Subject: perror: Fix autoconf test. X-Git-Tag: v0.1~1576 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=32dbf2ceb339e1416390b551f65e4f84c033fd27;p=gnulib.git perror: Fix autoconf test. * m4/perror.m4 (gl_FUNC_PERROR): In the test program, include and . --- diff --git a/ChangeLog b/ChangeLog index 3f9cf6184..e7de3ad37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-10-14 Daniel Richard G. (tiny change) + + perror: Fix autoconf test. + * m4/perror.m4 (gl_FUNC_PERROR): In the test program, include + and . + 2011-10-14 Bruno Haible ffsl: Optimize on 64-bit platforms. diff --git a/m4/perror.m4 b/m4/perror.m4 index 86e20207f..8c28d44b3 100644 --- a/m4/perror.m4 +++ b/m4/perror.m4 @@ -1,4 +1,4 @@ -# perror.m4 serial 3 +# perror.m4 serial 4 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -27,6 +27,8 @@ AC_DEFUN([gl_FUNC_PERROR], [AC_LANG_PROGRAM( [[#include #include + #include + #include ]], [[char *str = strerror (-1); if (!getenv("CONFTEST_OUTPUT")) return 0;