From: | Brook Milligan <brook(at)trillium(dot)NMSU(dot)Edu> |
---|---|
To: | hackers(at)postgreSQL(dot)org |
Subject: | Feb 17 snapshot and NetBSD |
Date: | 1998-02-17 23:40:19 |
Message-ID: | 199802172340.QAA01999@trillium.nmsu.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I am trying to get today's snapshot compiled. The trouble I ran into
is with ecpg which seems to be missing some header files.
Also, ecpg.c includes getopt.h which doesn't exist on NetBSD systems.
The declarations are in unistd.h. See the patch below.
I wasn't sure how to get the configuration scripts to differentiate
between these cases.
--- interfaces/ecpg/preproc/ecpg.c.orig Tue Feb 17 01:00:39 1998
+++ interfaces/ecpg/preproc/ecpg.c Tue Feb 17 14:22:23 1998
@@ -3,7 +3,7 @@
/* Placed under the same copyright as PostgresSQL */
#include <stdio.h>
-#include <getopt.h>
+#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
Cheers,
Brook
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-02-18 00:24:10 | Re: [HACKERS] Crash and troubles with acl's |
Previous Message | Gerhard Reithofer | 1998-02-17 23:31:31 | Crash and troubles with acl's |