[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-devel] freebsd sys/time.h
From: |
Dmitry Frolov |
Subject: |
Re: [Freeipmi-devel] freebsd sys/time.h |
Date: |
Sun, 26 Feb 2006 11:01:59 +0600 |
User-agent: |
Mutt/1.5.6i |
* Albert Chu <address@hidden> [25.02.2006 14:24]:
> Hey guys,
>
> Noticed the following in freeipmi.h.
>
> # if TIME_WITH_SYS_TIME
> # include <sys/time.h>
> # include <time.h>
> # else
> # if HAVE_SYS_TIME_H
> # include <sys/time.h>
> # else
> # ifdef __FreeBSD__
> # include <sys/time.h>
> # else
> # include <time.h>
> # endif
> # endif
> # endif
>
> Can autoconf not find sys/time.h on FreeBSD? Or was the above just a
> typo/mistake?
Don't know the source of this, but configure script found
both time.h and sys/time.h here on various FBSD versions:
address@hidden ttyp0:~/tmp/freeipmi-0.2.0-beta0$ ./configure
[...]
checking whether time.h and sys/time.h may both be included... yes
[...]
address@hidden ttyp0:~/tmp/freeipmi-0.2.0-beta0$ grep TIME config.h
#define TIME_WITH_SYS_TIME 1
wbr&w, dmitry.
--
Dmitry Frolov <address@hidden>
RISS-Telecom Network, Novosibirsk, Russia
address@hidden, +7 3832 NO WA1T, DVF-RIPE