[Nut-upsdev] gamatronic/sec driver: gettimeofday

Charles Lepple clepple at gmail.com
Wed Mar 21 12:35:01 CET 2007


On 3/20/07, Julius Malkiewicz <jpmalkiewicz at gmail.com> wrote:
>   I would like to use the gettimeofday() call to do some timing - but
> it is invoked optionally, therefore it is _not_ required.  I'm aware
> that different unix(es) have different header files to include to get
> to the gettimeofday() syscall - on linux it is <sys/time.h>.
>
>  How do I modify the autoconf  files to get me to include the correct file?

I think we already have some autoconf tests for the time header files,
so try this:

#include "timehead.h"

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list