summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorMarc G. Fournier1998-02-24 04:02:20 +0000
committerMarc G. Fournier1998-02-24 04:02:20 +0000
commit712e77e3dfbec79695da94ec7f64762f0555cfb2 (patch)
treeab6ad59f6df80bb3381eec10b8ca55da78c7f143 /src/backend
parent18e1f0331b5e92b8e3f49a88b6757db68eaa8e29 (diff)
Various fixes for string.h vs strings.h
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/libpq/pqcomm.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c
index 044370db72e..e1252d2a747 100644
--- a/src/backend/libpq/pqcomm.c
+++ b/src/backend/libpq/pqcomm.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.37 1998/02/19 14:27:33 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.38 1998/02/24 04:01:53 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -34,9 +34,14 @@
* the postgres backend.
*
*/
+#include "postgres.h"
+
#include <stdio.h>
-#include <string.h>
-#include <strings.h>
+#if defined(HAVE_STRING_H)
+# include <string.h>
+#else
+# include <strings.h>
+#endif
#include <signal.h>
#include <errno.h>
#include <fcntl.h>
@@ -56,13 +61,11 @@
#endif /* SOMAXCONN */
#endif /* linux */
-#include <postgres.h>
-
-#include <miscadmin.h>
-#include <libpq/pqsignal.h>
-#include <libpq/auth.h>
-#include <libpq/libpq.h> /* where the declarations go */
-#include <storage/ipc.h>
+#include "miscadmin.h"
+#include "libpq/pqsignal.h"
+#include "libpq/auth.h"
+#include "libpq/libpq.h" /* where the declarations go */
+#include "storage/ipc.h"
/* ----------------
* declarations