Re: [COMMITTERS] pgsql-server/src backend/commands/variable.c b ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [COMMITTERS] pgsql-server/src backend/commands/variable.c b ...
Date: 2003-05-22 13:35:55
Message-ID: 16783.1053610555@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I am getting:

> gcc -O2 -pipe -m486 -Wall -Wmissing-prototypes -Wmissing-declarations -O1 -Wall -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wcast-align -I../../../src/include -I/usr/local/include/readline -I/usr/contrib/include -c -o variable.o variable.c
> variable.c: In function `tzset_succeeded':
> variable.c:328: `tzname' undeclared (first use in this function)

Odd. tzname is supposed to exist according to the Unix specs I've
looked at, eg
http://www.opengroup.org/onlinepubs/007908799/xsh/tzname.html
It does exist on Marc's FreeBSD setup:
> gcc -E /usr/include/time.h | grep tzname
extern char *tzname[];

Maybe on your machine we need to include <sys/time.h> or some such?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-05-22 14:39:28 pgsql-server/src/backend/access/transam xlog.c
Previous Message Michael Meskes 2003-05-22 08:15:44 pgsql-server/doc TODO

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2003-05-22 14:03:19 Re: Text format protocol representation
Previous Message Bruno Wolff III 2003-05-22 12:34:01 Getting schema security in 7.4 with psql?