[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-devel] freebsd sys/time.h
From: |
Albert Chu |
Subject: |
Re: [Freeipmi-devel] freebsd sys/time.h |
Date: |
Sun, 26 Feb 2006 11:00:12 -0800 |
Thanks Dmitry. I'll assume it was a typo then. I'll fix it up.
Al
--
Albert Chu
address@hidden
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
----- Original Message -----
From: Dmitry Frolov <address@hidden>
Date: Saturday, February 25, 2006 9:01 pm
Subject: Re: [Freeipmi-devel] freebsd sys/time.h
> * 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
>