Skip to content

Commit edc1d5e

Browse files
committed
fix windows build
1 parent f046d3f commit edc1d5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gui/raster/qgsrasterhistogramwidget.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
#include "qwt5_histogram_item.h"
4747
#endif
4848

49+
#ifdef WIN32
50+
#include <time.h>
51+
#endif
52+
4953
// this has been removed, now we let the provider/raster interface decide
5054
// how many bins are suitable depending on data type and range
5155
//#define RASTER_HISTOGRAM_BINS 256

0 commit comments

Comments
 (0)