diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-10-03 17:04:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-10-03 17:04:48 +0000 |
commit | 3b4c142030de5e016cb7b87a0bbcb070aab997cd (patch) | |
tree | 7c3315a56196a75551bf5c5d24f27163f5a50211 | |
parent | 1bd5e054ed24fc755c0b28a46474ad00c6c36742 (diff) | |
download | postgresql-3b4c142030de5e016cb7b87a0bbcb070aab997cd.tar.gz postgresql-3b4c142030de5e016cb7b87a0bbcb070aab997cd.zip |
Remove assorted compilation failures introduced by latest ecpg changes.
Also remove -g, which has no business in CPPFLAGS in the first place,
let alone being hardwired there by a sub-Makefile.
-rw-r--r-- | src/interfaces/ecpg/include/ecpglib.h | 1 | ||||
-rw-r--r-- | src/interfaces/ecpg/pgtypeslib/Makefile | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h index d728d2e55a5..317d35e3294 100644 --- a/src/interfaces/ecpg/include/ecpglib.h +++ b/src/interfaces/ecpg/include/ecpglib.h @@ -7,6 +7,7 @@ #define _ECPGLIB_H #include "libpq-fe.h" +#include "ecpgtype.h" #ifndef __BEOS__ #ifndef __cplusplus diff --git a/src/interfaces/ecpg/pgtypeslib/Makefile b/src/interfaces/ecpg/pgtypeslib/Makefile index 71100084b1e..043055539b0 100644 --- a/src/interfaces/ecpg/pgtypeslib/Makefile +++ b/src/interfaces/ecpg/pgtypeslib/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.12 2003/09/27 15:32:47 momjian Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.13 2003/10/03 17:04:48 tgl Exp $ # #------------------------------------------------------------------------- @@ -16,7 +16,7 @@ NAME= pgtypes SO_MAJOR_VERSION= 1 SO_MINOR_VERSION= 0 -override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(top_srcdir)/src/include/utils $(CPPFLAGS) $(THREAD_CPPFLAGS) -g +override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(top_srcdir)/src/include/utils -I$(libpq_srcdir) $(CPPFLAGS) $(THREAD_CPPFLAGS) SHLIB_LINK += -lm OBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \ |