fix msvc build again

This commit is contained in:
2025-02-21 11:29:58 +01:00
parent 1d63ab24d3
commit 9c0ca7d66c
5 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,4 @@
#include <windows.h>
#include <ntstatus.h>
#include <winioctl.h>
#include <assert.h>

View File

@ -4,6 +4,7 @@ hooklib_lib = static_library(
implicit_include_directories : false,
dependencies : [
capnhook.get_variable('hook_dep'),
Ws2_32_lib
],
sources : [
'cursor.c',

View File

@ -83,6 +83,7 @@ dxguid_lib = cc.find_library('dxguid')
xinput_lib = cc.find_library('xinput')
pathcch_lib = cc.find_library('pathcch')
imagehlp_lib = cc.find_library('imagehlp')
Ws2_32_lib = cc.find_library('Ws2_32')
inc = include_directories('.')
capnhook = subproject('capnhook')

View File

@ -1,5 +1,4 @@
#include <windows.h>
#include <ntstatus.h>
#include <assert.h>
#include <stdlib.h>

View File

@ -5,6 +5,7 @@
// https://github.com/NeighTools/UnityDoorstop
#include <stdbool.h>
#include <stdlib.h>
#include <windows.h>
#include <wchar.h>
#include <pathcch.h>