summaryrefslogtreecommitdiffstats
path: root/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'strerror.c')
-rw-r--r--strerror.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/strerror.c b/strerror.c
index a0185a6..dcdd010 100644
--- a/strerror.c
+++ b/strerror.c
@@ -15,7 +15,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-char *strerror(int errnum)
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+char *
+strerror __P((int errnum))
{
extern char *sys_errlist[];
extern int sys_nerr;