diff options
author | Bruce Momjian | 1998-04-23 17:25:29 +0000 |
---|---|---|
committer | Bruce Momjian | 1998-04-23 17:25:29 +0000 |
commit | 491b76019e6bac705b5894b6d3c514d4896c892b (patch) | |
tree | 6a0baa00d57f467606468f309a2da880ecce1315 | |
parent | 04bd26103e9635c6d936ae82efb4ac46d5c0737c (diff) |
pginterface cleanup
-rw-r--r-- | contrib/pginterface/Makefile | 2 | ||||
-rw-r--r-- | contrib/pginterface/pginsert.c | 1 | ||||
-rw-r--r-- | contrib/pginterface/pgnulltest.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pginterface/Makefile b/contrib/pginterface/Makefile index a13b336fb2f..eea02e8f122 100644 --- a/contrib/pginterface/Makefile +++ b/contrib/pginterface/Makefile @@ -4,7 +4,7 @@ # PGINTERFACE = pginterface.o halt.o TARGET = pginsert pgwordcount pgnulltest -CFLAGS = -g -fpic -Wall -I. -I../../src/interfaces/libpq -I/usr/local/pgsql/include +CFLAGS = -g -Wall -I. -I../../src/interfaces/libpq -I/usr/local/pgsql/include LDFLAGS = -L/usr/local/pgsql/lib -lpq all : $(TARGET) diff --git a/contrib/pginterface/pginsert.c b/contrib/pginterface/pginsert.c index 46e3c2743ba..ad0811c88a6 100644 --- a/contrib/pginterface/pginsert.c +++ b/contrib/pginterface/pginsert.c @@ -4,6 +4,7 @@ */ #include <stdio.h> +#include <time.h> #include <libpq-fe.h> #include "halt.h" #include "pginterface.h" diff --git a/contrib/pginterface/pgnulltest.c b/contrib/pginterface/pgnulltest.c index 69a1d44e854..bb02fa628e1 100644 --- a/contrib/pginterface/pgnulltest.c +++ b/contrib/pginterface/pgnulltest.c @@ -6,6 +6,7 @@ #define TEST_NON_NULLS #include <stdio.h> +#include <time.h> #include <halt.h> #include <libpq-fe.h> #include <pginterface.h> |