diff --git a/src/include/port/nextstep.h b/src/include/port/nextstep.h index d7fbae858c..ca078ab10d 100644 --- a/src/include/port/nextstep.h +++ b/src/include/port/nextstep.h @@ -1,3 +1,4 @@ +# include # include # if defined(__STRICT_ANSI__) # define isascii(c) ((unsigned)(c)<=0177) diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 27c123e6f3..9d02de5b52 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.28 1997/04/02 18:26:25 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.29 1997/04/15 19:08:13 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -313,6 +313,7 @@ PQsetdb(const char *pghost, const char* pgport, const char* pgoptions, const cha fprintf(stderr, "FATAL: PQsetdb() -- unable to allocate memory for a PGconn"); else { + conn->lobjfuncs = (PGlobjfuncs *) NULL; conn->Pfout = NULL; conn->Pfin = NULL; conn->Pfdebug = NULL;