X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_tool.h;h=4cfe07e7b5352b3511efd3be9960c4f04bd353c3;hp=8e0718fbf7c37f8f077d6bc863a4b141391c8566;hb=8fdbf4660969f9bde7f0f434f2d1002028d36814;hpb=210e991460e82d01d086f853e65485040eb2fffb diff --git a/src/rrd_tool.h b/src/rrd_tool.h index 8e0718f..4cfe07e 100644 --- a/src/rrd_tool.h +++ b/src/rrd_tool.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.3.1 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