Re: [Freeipmi-devel] freebsd sys/time.h

2006-02-26 Thread Albert Chu
Thanks Dmitry.  I'll assume it was a typo then.  I'll fix it up.

Al

--
Albert Chu
[EMAIL PROTECTED]
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


- Original Message -
From: Dmitry Frolov <[EMAIL PROTECTED]>
Date: Saturday, February 25, 2006 9:01 pm
Subject: Re: [Freeipmi-devel] freebsd sys/time.h

> * Albert Chu <[EMAIL PROTECTED]> [25.02.2006 14:24]:
> 
> > Hey guys,
> > 
> > Noticed the following in freeipmi.h.
> > 
> > # if TIME_WITH_SYS_TIME
> > #  include 
> > #  include 
> > # else
> > #  if HAVE_SYS_TIME_H
> > #   include 
> > #  else
> > #   ifdef __FreeBSD__
> > #include 
> > #   else
> > #include 
> > #   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:
> 
> [EMAIL PROTECTED] ttyp0:~/tmp/freeipmi-0.2.0-beta0$ ./configure
> [...]
> checking whether time.h and sys/time.h may both be included... yes
> [...]
> 
> [EMAIL PROTECTED] ttyp0:~/tmp/freeipmi-0.2.0-beta0$ grep TIME config.h
> #define TIME_WITH_SYS_TIME 1
> 
>wbr&w, dmitry.
> -- 
> Dmitry Frolov <[EMAIL PROTECTED]>
> RISS-Telecom Network, Novosibirsk, Russia
> [EMAIL PROTECTED], +7 3832 NO WA1T, DVF-RIPE
> 



___
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel


Re: [Freeipmi-devel] freebsd sys/time.h

2006-02-26 Thread Dmitry Frolov
* Albert Chu <[EMAIL PROTECTED]> [25.02.2006 14:24]:

> Hey guys,
> 
> Noticed the following in freeipmi.h.
> 
> # if TIME_WITH_SYS_TIME
> #  include 
> #  include 
> # else
> #  if HAVE_SYS_TIME_H
> #   include 
> #  else
> #   ifdef __FreeBSD__
> #include 
> #   else
> #include 
> #   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:

[EMAIL PROTECTED] ttyp0:~/tmp/freeipmi-0.2.0-beta0$ ./configure
[...]
checking whether time.h and sys/time.h may both be included... yes
[...]

[EMAIL PROTECTED] ttyp0:~/tmp/freeipmi-0.2.0-beta0$ grep TIME config.h
#define TIME_WITH_SYS_TIME 1

wbr&w, dmitry.
-- 
Dmitry Frolov <[EMAIL PROTECTED]>
RISS-Telecom Network, Novosibirsk, Russia
[EMAIL PROTECTED], +7 3832 NO WA1T, DVF-RIPE


___
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel