aboutsummaryrefslogtreecommitdiffstats
path: root/api/registry.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/registry.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/registry.c')
-rw-r--r--api/registry.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/api/registry.c b/api/registry.c
index 53af8bb..d75f635 100644
--- a/api/registry.c
+++ b/api/registry.c
@@ -3,9 +3,7 @@
* Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
*/
-#include "api.h"
-#include <string.h>
-#include <wchar.h>
+#include "pch.h"
static WINTUN_STATUS
OpenKeyWait(_In_ HKEY Key, _Inout_z_ LPWSTR Path, _In_ DWORD Access, _In_ ULONGLONG Deadline, _Out_ HKEY *KeyOut)