From b47e5d89db114c0c7618ca52dec2f56140f43416 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wolfgang=20St=C3=B6ggl?= Date: Sun, 20 Jan 2019 22:11:34 +0100 Subject: [PATCH] Include winsdkver.h for _WIN32_MAXVER - _WIN32_MAXVER is defined in winsdkver.h The include is required in case of MinGW-w64 builds - Fixes rrd_open.c:11:5: warning: "_WIN32_MAXVER" is not defined, evaluates to 0 [-Wundef] #if _WIN32_MAXVER >= 0x0602 /* _WIN32_WINNT_WIN8 */ --- src/rrd_open.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rrd_open.c b/src/rrd_open.c index 9daee757..df2669af 100644 --- a/src/rrd_open.c +++ b/src/rrd_open.c @@ -8,6 +8,7 @@ #ifdef _WIN32 #include +#include /* Defines _WIN32_MAXVER */ #if _WIN32_MAXVER >= 0x0602 /* _WIN32_WINNT_WIN8 */ #include #endif -- 2.47.2