summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-17 20:18:55 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-17 20:18:55 +0000
commit3406901a2928627477374769416a32b01a08b131 (patch)
treee045a16716bbeb4b90ed143260887e23f96939f5 /src/include/c.h
parentc62b8a68bf60a451f57fd026bacc91648de7433a (diff)
downloadpostgresql-3406901a2928627477374769416a32b01a08b131.tar.gz
Move some system includes into c.h, and remove duplicates.
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 1fd1aa0421..174d20cb1c 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.60 1999/07/17 04:12:09 momjian Exp $
+ * $Id: c.h,v 1.61 1999/07/17 20:18:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -50,7 +50,9 @@
#include "config.h"
+#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#ifdef STDC_HEADERS
#include <stddef.h>
#include <stdarg.h>
@@ -789,12 +791,14 @@ extern char *vararg_format(const char *fmt,...);
#ifndef HAVE_SNPRINTF
extern int snprintf(char *str, size_t count, const char *fmt,...);
-
#endif
#ifndef HAVE_VSNPRINTF
extern int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
+#endif
+#ifndef HAVE_MEMMOVE
+#include <regex/utils.h>
#endif
/* ----------------