aboutsummaryrefslogtreecommitdiffstats
path: root/api/devmgmt.c
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-07-21 16:57:36 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-30 16:50:58 +0100
commit0a986ce9fcbf2e3da348a052264869c82d2d82f4 (patch)
treebfbf4f88d1e13a98cf754fc39050098dc750679e /api/devmgmt.c
parentapi: rename WINSTATUS to WINTUN_STATUS (diff)
downloadwintun-0a986ce9fcbf2e3da348a052264869c82d2d82f4.tar.xz
wintun-0a986ce9fcbf2e3da348a052264869c82d2d82f4.zip
api: add pre-compiled header support
...for super-fast compilation. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/devmgmt.c')
-rw-r--r--api/devmgmt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/api/devmgmt.c b/api/devmgmt.c
index b8b594d..7f6d735 100644
--- a/api/devmgmt.c
+++ b/api/devmgmt.c
@@ -3,12 +3,7 @@
* Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
*/
-#include "api.h"
-#include <cfgmgr32.h>
-#include <iphlpapi.h>
-#include <objbase.h>
-#include <SetupAPI.h>
-#include <wchar.h>
+#include "pch.h"
#define WINTUN_HWID L"Wintun"
#define WAIT_FOR_REGISTRY_TIMEOUT 10000 /* ms */