* lib/strerror-override.h: Include errno.h and stddef.h, not string.h.
* lib/strerror-override.c: Include config.h.
(strerror_override): Don't undefine.
+2011-06-04 Bruno Haible <bruno@clisp.org>
+
+ strerror-override: Don't disable symbol renamings.
+ * lib/strerror-override.h: Include errno.h and stddef.h, not string.h.
+ * lib/strerror-override.c: Include config.h.
+ (strerror_override): Don't undefine.
+
2011-06-03 Bruno Haible <bruno@clisp.org>
Copyright: Use LGPL 2.1 instead of LGPL 2.0.
/* Written by Bruno Haible <bruno@clisp.org>, 2010. */
+#include <config.h>
+
#include "strerror-override.h"
#include <errno.h>
# endif
#endif
-/* This undefine allows testing with gl_cv_header_errno_h_complete=no on
- a system that otherwise has a complete errno.h. */
-#undef strerror_override
-
/* If ERRNUM maps to an errno value defined by gnulib, return a string
describing the error. Otherwise return NULL. */
const char *
#ifndef _GL_STRERROR_OVERRIDE_H
# define _GL_STRERROR_OVERRIDE_H
-# include <string.h>
+# include <errno.h>
+# include <stddef.h>
/* Reasonable buffer size that should never trigger ERANGE; if this
proves too small, we intentionally abort(), to remind us to fix