* m4/perror.m4 (gl_FUNC_PERROR): In the test program, include
<stdlib.h> and <string.h>.
+2011-10-14 Daniel Richard G. <skunk@iskunk.org> (tiny change)
+
+ perror: Fix autoconf test.
+ * m4/perror.m4 (gl_FUNC_PERROR): In the test program, include
+ <stdlib.h> and <string.h>.
+
2011-10-14 Bruno Haible <bruno@clisp.org>
ffsl: Optimize on 64-bit platforms.
-# 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,
[AC_LANG_PROGRAM(
[[#include <errno.h>
#include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
]],
[[char *str = strerror (-1);
if (!getenv("CONFTEST_OUTPUT")) return 0;