aboutsummaryrefslogtreecommitdiffstats
path: root/api/registry.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-10-31 11:55:26 +0100
committerSimon Rozman <simon@rozman.si>2020-10-31 19:11:51 +0100
commit937eb447278c2bc1b30852905c7740bcdedb534d (patch)
treebec9edcff4b45ae2a076f7cb218d1f98caa36da1 /api/registry.c
parentapi: simplify build settings (diff)
downloadwintun-937eb447278c2bc1b30852905c7740bcdedb534d.tar.xz
wintun-937eb447278c2bc1b30852905c7740bcdedb534d.zip
api: get rid of pch and make headers sane
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--api/registry.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/api/registry.c b/api/registry.c
index c0ebe93..1428165 100644
--- a/api/registry.c
+++ b/api/registry.c
@@ -3,7 +3,11 @@
* Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
*/
-#include "pch.h"
+#include "entry.h"
+#include "logger.h"
+#include "registry.h"
+#include <Windows.h>
+#include <wchar.h>
static WINTUN_STATUS
OpenKeyWait(_In_ HKEY Key, _Inout_z_ WCHAR *Path, _In_ DWORD Access, _In_ ULONGLONG Deadline, _Out_ HKEY *KeyOut)