X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_tool.h;h=43781da464783b56d6100a1eef71d9de06fa87c9;hb=beb8d57ef56b9bd6fb6018845e6c99d8c3dfc979;hp=eb8846fec31908eeca48468ee0038e5a4ea55fbd;hpb=5356d2fa3c67c5a208b8674f8f56459e9735dbfe;p=rrdtool.git diff --git a/src/rrd_tool.h b/src/rrd_tool.h index eb8846f..43781da 100644 --- a/src/rrd_tool.h +++ b/src/rrd_tool.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.3.0 Copyright by Tobi Oetiker, 1997-2008 + * RRDtool 1.3.2 Copyright by Tobi Oetiker, 1997-2008 ***************************************************************************** * rrd_tool.h Common Header File *****************************************************************************/ @@ -50,7 +50,13 @@ extern "C" { #endif /* local include files -- need to be after the system ones */ +#ifdef HAVE_GETOPT_LONG +#define _GNU_SOURCE +#include +#else #include "rrd_getopt.h" +#endif + #include "rrd_format.h" #ifndef max @@ -103,7 +109,7 @@ extern "C" { char *a, char *b); -#endif +#endif /* _RRD_TOOL_H */ #ifdef __cplusplus }