]> granicus.if.org Git - postgresql/commitdiff
shared build fails, but the rest compiles...formatting error in the
authorMarc G. Fournier <scrappy@hub.org>
Sun, 3 Nov 1996 07:14:32 +0000 (07:14 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 3 Nov 1996 07:14:32 +0000 (07:14 +0000)
cc -shared, I believe...

src/interfaces/libpq/Makefile
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-misc.c

index b6d19caed19fd477c681948af5680505c7111aac..8a88617b732a4a6decaf541677528e0d48ab3f97 100644 (file)
@@ -7,17 +7,14 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.9 1996/11/02 09:54:44 bryanh Exp $
+#    $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.10 1996/11/03 07:14:29 scrappy Exp $
 #
 #-------------------------------------------------------------------------
 
 SRCDIR= ..
 include ../Makefile.global
 
-INCLUDE_OPT= \
-             -I. \
-             -I../include \
-             -I../backend \
+INCLUDE_OPT= -I../include -I.
 
 CFLAGS+= $(INCLUDE_OPT) -DPOSTPORT='"$(POSTPORT)"'
 
index 18a5a6f08fe211b7eedef4890f81902ffd0aa3da..103e64fdf5738018f61b0d152f8383a3c121c97d 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.5 1996/10/13 04:50:27 momjian Exp $
+ *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.6 1996/11/03 07:14:30 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -33,6 +33,9 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <pwd.h>
+
+#include "postgres.h"
+
 #include "libpq/pqcomm.h"
 
 #include "libpq-fe.h"
index 848bb1c5d8bb5f0bc5a690d1000edc10d46c334c..d0e50cfe34e80fae661244adaeef05cb854f3bca 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.12 1996/10/29 21:53:48 bryanh Exp $
+ *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.13 1996/11/03 07:14:31 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include <netdb.h>
 #include <errno.h>
 #include <signal.h>
-#include <libpq/pqcomm.h> /* for decls of MsgType, PacketBuf, StartupInfo */
-#include <fe-auth.h>
+
+#include "postgres.h"
+#include "libpq/pqcomm.h" /* for decls of MsgType, PacketBuf, StartupInfo */
+#include "fe-auth.h"
 #include "libpq-fe.h"
 
 #if defined(PORTNAME_ultrix4) || defined(PORTNAME_next)
@@ -141,7 +143,7 @@ PQsetdb(const char *pghost, const char* pgport, const char* pgoptions, const cha
     } else
       conn->pgoptions = strdup(pgoptions);
 
-    if (tmp = getenv("PGUSER")) {
+    if ((tmp = getenv("PGUSER"))) {
       error = FALSE;
       conn->pguser = strdup(tmp);
     } else {
index ea5b87df7e82ca89a8e0fa1e535ef11141f2ef1d..852ceefe9e9223763a5f063b3b7bb4ee8b5df92b 100644 (file)
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.2 1996/08/06 16:16:48 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.3 1996/11/03 07:14:32 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 
 #include <stdlib.h>
 #include <stdio.h>
+
+#include "postgres.h"
+
 #include "libpq-fe.h"
 
 /* pqGetc: