OSDN Git Service

pginterface cleanup
authorBruce Momjian <bruce@momjian.us>
Thu, 23 Apr 1998 17:25:29 +0000 (17:25 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 23 Apr 1998 17:25:29 +0000 (17:25 +0000)
contrib/pginterface/Makefile
contrib/pginterface/pginsert.c
contrib/pginterface/pgnulltest.c

index a13b336..eea02e8 100644 (file)
@@ -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)
index 46e3c27..ad0811c 100644 (file)
@@ -4,6 +4,7 @@
 */
 
 #include <stdio.h>
+#include <time.h>
 #include <libpq-fe.h>
 #include "halt.h"
 #include "pginterface.h"
index 69a1d44..bb02fa6 100644 (file)
@@ -6,6 +6,7 @@
 #define TEST_NON_NULLS
 
 #include <stdio.h>
+#include <time.h>
 #include <halt.h>
 #include <libpq-fe.h>
 #include <pginterface.h>