From a2e8fba9b15396808f06caed61d0b6628ac23ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Thu, 5 Oct 2023 19:47:58 +0200 Subject: [PATCH] [INTL][NETSHELL][SYSDM] Include setupapi_undoc.h for IsUserAdmin(). --- dll/cpl/intl/intl.c | 1 + dll/cpl/sysdm/userprofile.c | 1 + dll/shellext/netshell/connectmanager.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/dll/cpl/intl/intl.c b/dll/cpl/intl/intl.c index bce915ce177..ec1720fbf2f 100644 --- a/dll/cpl/intl/intl.c +++ b/dll/cpl/intl/intl.c @@ -24,6 +24,7 @@ */ #include "intl.h" +#include // For IsUserAdmin() #include diff --git a/dll/cpl/sysdm/userprofile.c b/dll/cpl/sysdm/userprofile.c index 25e0277b2de..c4d32d880ec 100644 --- a/dll/cpl/sysdm/userprofile.c +++ b/dll/cpl/sysdm/userprofile.c @@ -11,6 +11,7 @@ #include "precomp.h" #include #include +#include // For IsUserAdmin() #include diff --git a/dll/shellext/netshell/connectmanager.cpp b/dll/shellext/netshell/connectmanager.cpp index fd934b09b09..5a2789981f4 100644 --- a/dll/shellext/netshell/connectmanager.cpp +++ b/dll/shellext/netshell/connectmanager.cpp @@ -6,6 +6,7 @@ */ #include "precomp.h" +#include // For IsUserAdmin() VOID NormalizeOperStatus(MIB_IFROW *IfEntry, NETCON_PROPERTIES * Props);