Re: [HACKERS] compile problem in libpq

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] compile problem in libpq
Дата
Msg-id 199805081740.NAA10095@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] compile problem in libpq  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>
> >> I had t add a #include <sys/time.h> to get fe-misc.c to compile on my Debian
> >> GNU/Linux 2.0 machine.
>
> > Do you have the #include <time.h> line, and you need sys/time.h too?
>
> Now that he mentions it, I've seen the same thing on Linux boxen:
> you need to include both <time.h> and <sys/time.h>.  (I think the
> latter pulls in some definitions needed to use select() on that OS.)
> Sorry for not remembering about it.  On my OS <time.h> just includes
> <sys/time.h> ...

OK, I added sys/time.h to fe-misc.c  postmaster.c has time.h and
sys/time.h, so why not here too?

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Try again: S_LOCK reduced contentionh]
Следующее
От: ocie@paracel.com
Дата:
Сообщение: [HACKERS] Your Search Engine Listing (fwd)