diff --git a/mingw-w64-libmicrohttpd/PKGBUILD b/mingw-w64-libmicrohttpd/PKGBUILD index fbd5a424d0..06fd4efa98 100644 --- a/mingw-w64-libmicrohttpd/PKGBUILD +++ b/mingw-w64-libmicrohttpd/PKGBUILD @@ -7,7 +7,7 @@ _realname=libmicrohttpd pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=0.9.64 -pkgrel=1 +pkgrel=2 pkgdesc="GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application (mingw-w64)" arch=('any') url="https://www.gnu.org/software/libmicrohttpd" @@ -38,6 +38,7 @@ build() { [[ -d ${srcdir}/build-${MINGW_CHOST} ]] && rm -rf ${srcdir}/build-${MINGW_CHOST} mkdir -p ${srcdir}/build-${MINGW_CHOST} && cd ${srcdir}/build-${MINGW_CHOST} ../${_realname}-${pkgver}/configure \ + CPPFLAGS="${CPPFLAGS} -D_WIN32_WINNT=0x0601" \ --prefix=${MINGW_PREFIX} \ --build=${MINGW_CHOST} \ --host=${MINGW_CHOST} \