From 5a426705495a2c305c21513d1f8540f35b9ea323 Mon Sep 17 00:00:00 2001 From: Shane Lee Date: Thu, 8 Feb 2024 08:53:54 -0700 Subject: [PATCH] Import ctypes.wintypes explicitely --- salt/utils/user.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/utils/user.py b/salt/utils/user.py index 5a0aecd0a66..00d7a2930cf 100644 --- a/salt/utils/user.py +++ b/salt/utils/user.py @@ -32,6 +32,8 @@ except ImportError: HAS_GRP = False try: + import ctypes.wintypes + import salt.utils.win_functions HAS_WIN_FUNCTIONS = True