* lib/strerror_r.c (includes): Use <stdlib.h> unconditionally,
since we use abort on some platforms.
Reported by Matthias Bolte.
Signed-off-by: Eric Blake <eblake@redhat.com>
+2011-06-01 Eric Blake <eblake@redhat.com>
+
+ strerror_r: fix includes for FreeBSD
+ * lib/strerror_r.c (includes): Use <stdlib.h> unconditionally,
+ since we use abort on some platforms.
+ Reported by Matthias Bolte.
+
2011-05-31 Bruno Haible <bruno@clisp.org>
Fix link errors in tests: openat-die uses gettext-h.
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
#if GNULIB_defined_ESOCK /* native Windows platforms */
# if HAVE_WINSOCK2_H
extern int sys_nerr;
# endif
-/* Get sys_nerr, sys_errlist on native Windows. */
-# include <stdlib.h>
-
# else
# include "glthread/lock.h"