[rrd-developers] [PATCH] Fix implicit declaration in rrd_open.c

Milan Holzäpfel mail at mjh.name
Fri Mar 26 23:41:47 CET 2010


attached patch fixes an implicit declaration of utime() in
src/rrd_open.c in case utime() is needed.  The inclusion of utime.h
depends on HAVE_BROKEN_MS_ASYNC, which is defined in rrd_config.h,
included by src/rrd_tool.h.  Therefore, rrd_tool.h must be included
before the check for HAVE_BROKEN_MS_ASYNC.

Gentoo's build utils made me notice the compiler warning. 

I'm not subscribed to the list.

Milan Holzäpfel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool-1.4.3-fix-implicit-declaration.patch
Type: application/octet-stream
Size: 371 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20100326/ce808fd6/attachment-0001.obj 

More information about the rrd-developers mailing list