summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-03-26 03:27:04 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-03-26 03:27:04 +0000
commit7cbe19384fcdab8c0203224a53d60e91f844b165 (patch)
tree1a2650319c3fcdebea04c984c484f46fe0392312
parent5b63c6b63af941f41418bbb81035e250c5ea207f (diff)
Add string.h for strerror() prototype
-rw-r--r--src/backend/utils/error/exc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/error/exc.c b/src/backend/utils/error/exc.c
index a3d71be92ae..94c2b27f93e 100644
--- a/src/backend/utils/error/exc.c
+++ b/src/backend/utils/error/exc.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.12 1997/03/18 21:40:41 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.13 1997/03/26 03:27:04 scrappy Exp $
*
* NOTE
* XXX this code needs improvement--check for state violations and
@@ -17,6 +17,7 @@
*/
#include <stdio.h> /* XXX use own I/O routines */
#include <errno.h>
+#include <string.h>
#include "postgres.h"