From 32dbf2ceb339e1416390b551f65e4f84c033fd27 Mon Sep 17 00:00:00 2001 From: Daniel Richard G Date: Sat, 15 Oct 2011 01:35:34 +0200 Subject: [PATCH] perror: Fix autoconf test. * m4/perror.m4 (gl_FUNC_PERROR): In the test program, include and . --- ChangeLog | 6 ++++++ m4/perror.m4 | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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; -- 2.11.0