* Albert Chu <[EMAIL PROTECTED]> [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:

[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

Reply via email to