Feb 17 snapshot and NetBSD

Поиск
Список
Период
Сортировка
От Brook Milligan
Тема Feb 17 snapshot and NetBSD
Дата
Msg-id 199802172340.QAA01999@trillium.nmsu.edu
обсуждение исходный текст
Список 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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gerhard Reithofer
Дата:
Сообщение: Crash and troubles with acl's
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Crash and troubles with acl's