aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-misc.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-05-12 15:42:09 +0000
committerBruce Momjian <bruce@momjian.us>1998-05-12 15:42:09 +0000
commitc312583767d9f343de76a4414e3950e6de61fbf1 (patch)
treec19df709b7abaef2e299e1e76518fda564720d1a /src/interfaces/libpq/fe-misc.c
parent02a9d7e273028d77a9e3de4b52a1c51993ea5ea7 (diff)
downloadpostgresql-c312583767d9f343de76a4414e3950e6de61fbf1.tar.gz
postgresql-c312583767d9f343de76a4414e3950e6de61fbf1.zip
Add sys/time.h to fe-misc.c, prevent pgtclsh from using old libaries,
and allow CUSTOM_COPT to appear in compile AND LINK commands.
Diffstat (limited to 'src/interfaces/libpq/fe-misc.c')
-rw-r--r--src/interfaces/libpq/fe-misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c
index 6a1e5ec6831..bbe112d2ef7 100644
--- a/src/interfaces/libpq/fe-misc.c
+++ b/src/interfaces/libpq/fe-misc.c
@@ -24,7 +24,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.13 1998/05/07 16:17:16 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.14 1998/05/12 15:42:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -34,6 +34,7 @@
#include <string.h>
#include <errno.h>
#include <time.h>
+#include <sys/time.h>
#if !defined(NO_UNISTD_H)
#include <unistd.h>
#endif