aboutsummaryrefslogtreecommitdiffstats
path: root/api/adapter.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-07-23 18:19:00 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-07-23 20:20:43 +0200
commit899e085a913fe114c72929a91338629128f517a2 (patch)
tree44f0c89fbfb6dbcebd3ded9ebb4a1acc2354e9d9 /api/adapter.c
parentapi: remove unused pch file (diff)
downloadwintun-899e085a913fe114c72929a91338629128f517a2.tar.xz
wintun-899e085a913fe114c72929a91338629128f517a2.zip
api: build with WDK
Makes builds more reproducable, as we can do our next release using the EWDK, an all-in-one ISO of build tools from Microsoft. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/adapter.c')
-rw-r--r--api/adapter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/api/adapter.c b/api/adapter.c
index 3c65bb2..348441a 100644
--- a/api/adapter.c
+++ b/api/adapter.c
@@ -6,18 +6,19 @@
#include <WinSock2.h>
#include <Windows.h>
#include <winternl.h>
-#define _NTDEF_ /* TODO: figure out how to include ntsecapi and winternal together without requiring this */
+#include <wincrypt.h>
#include <cfgmgr32.h>
#include <devguid.h>
#include <ws2tcpip.h>
#include <iphlpapi.h>
#include <ndisguid.h>
-#include <NTSecAPI.h>
#include <SetupAPI.h>
#include <Shlwapi.h>
+#include <shellapi.h>
#include <wchar.h>
#include <initguid.h> /* Keep these two at bottom in this order, so that we only generate extra GUIDs for devpkey. The other keys we'll get from uuid.lib like usual. */
#include <devpkey.h>
+#include <devioctl.h>
#include "adapter.h"
#include "entry.h"