]> mj.ucw.cz Git - pciutils.git/commit
libpci: For PCI_OS_WINDOWS include windows.h instead of windef.h
authorPali Rohár <pali@kernel.org>
Sun, 26 Dec 2021 21:11:30 +0000 (22:11 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Feb 2022 11:58:17 +0000 (12:58 +0100)
commite4ec9322dc6b05bab1138cbb5ce621fd763f89a0
tree01425b6ffcd4991c4d7b8453f213f080cd2b1b61
parent777029819b21c0260a3b766e3bad531d9fb4340b
libpci: For PCI_OS_WINDOWS include windows.h instead of windef.h

According to Win32 API guidelines applications should include <windows.h>
instead of <windef.h>. This change fixes compilation under MSVC as MSVC
<windef.h> header file expects that some other Win32 header files from
<window.h> are already included.
lib/types.h