X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=6681390c11c6fcbb7c153d846bbaa160c78e33fc;hb=dc2409c0e92ace2dfdf73c0c5d7f57baf48b490b;hp=cffce4b00570710674437aa0b2ec670988b3e7a3;hpb=ac630adec930653637199258efd99024d49325c7;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index cffce4b..6681390 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -14,6 +14,10 @@ #include "rrd_tool.h" #include "rrd_rpncalc.h" +#ifdef WIN32 +# include +# define MAXPATH MAX_PATH +#endif #define ALTYGRID 0x01 /* use alternative y grid algorithm */ #define ALTAUTOSCALE 0x02 /* use alternative algorithm to find lower and upper bounds */ @@ -213,7 +217,7 @@ typedef struct image_desc_t { char *imginfo; /* construct an