summaryrefslogtreecommitdiff
path: root/lib/strerror-override.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-06-04 11:11:44 +0200
committerBruno Haible <bruno@clisp.org>2011-06-04 11:11:44 +0200
commit88e63ce16579840697254b8f821a43b5729f788e (patch)
tree3ba265f3771d0ed29f6e41203fdc4373a163801f /lib/strerror-override.h
parent872f360438e48a8755d76820a19bc12ede2877cc (diff)
downloadgnulib-88e63ce16579840697254b8f821a43b5729f788e.tar.gz
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.
Diffstat (limited to 'lib/strerror-override.h')
-rw-r--r--lib/strerror-override.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/strerror-override.h b/lib/strerror-override.h
index 0718b53480..b8ef854847 100644
--- a/lib/strerror-override.h
+++ b/lib/strerror-override.h
@@ -18,7 +18,8 @@
#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