Yesterday Jake Brutlag wrote: > > > Sean Settle has brought to my attention that one of the recent patches > (in the last month) has broken the Win32 build. The problem seems to > this code block from rrdtool.h: > > /* Sorry: don't know autoconf as well how to check the exist of > dirent.h ans sys/stat.h > */ > #include <sys/stat.h> > #include <dirent.h> > > The second header file is not available with Visual C++. The author has > even left a comment suggesting he is aware these headers may not be > available on all systems. Can the author of this patch please introduce > #ifdef conditional compilation for the code that depends on this?
Hi Jake, The code comes from the new 'server' functionality of rrdtool. It allows to remotely control rrdtool. The patch uses calls like opendir, readdir and others ... can you tell me which headers are required to make this work on nt? I will then add the stuff ... cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland / // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517 /_/ \.__/_.__/_/ [EMAIL PROTECTED] http://google.com/search?q=tobi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
