aboutsummaryrefslogtreecommitdiff
path: root/src/port/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/strerror.c')
-rw-r--r--src/port/strerror.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/port/strerror.c b/src/port/strerror.c
index 00de19b62d5..eebeb1b858b 100644
--- a/src/port/strerror.c
+++ b/src/port/strerror.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/port/strerror.c,v 1.4 2005/02/22 04:43:16 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/port/strerror.c,v 1.5 2005/07/28 04:03:14 tgl Exp $ */
/*
* strerror - map error number to descriptive string
@@ -9,9 +9,8 @@
* modified for ANSI by D'Arcy J.M. Cain
*/
-#include <string.h>
-#include <stdio.h>
-#include <errno.h>
+#include "c.h"
+
extern const char *const sys_errlist[];
extern int sys_nerr;