aboutsummaryrefslogtreecommitdiffstats
path: root/api/pch.h
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/pch.h
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 'api/pch.h')
-rw-r--r--api/pch.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/api/pch.h b/api/pch.h
deleted file mode 100644
index 4defd82..0000000
--- a/api/pch.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0
- *
- * Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
- */
-
-#pragma once
-
-#include "adapter.h"
-#include "api.h"
-#include "elevate.h"
-#include "logger.h"
-#include "namespace.h"
-#include "nci.h"
-#include "ntldr.h"
-#include "registry.h"
-#include "resource.h"
-#include "wintun.h"
-
-#pragma warning(push)
-#pragma warning(disable: 4201) /* nonstandard extension used: nameless struct/union */
-#include <bcrypt.h>
-#include <cfgmgr32.h>
-#include <delayimp.h>
-#include <devguid.h>
-#include <IPExport.h>
-#include <iphlpapi.h>
-#include <locale.h>
-#include <ndisguid.h>
-#include <newdev.h>
-#include <objbase.h>
-#include <Psapi.h>
-#include <sddl.h>
-#include <SetupAPI.h>
-#include <Shlwapi.h>
-#include <string.h>
-#include <TlHelp32.h>
-#include <wchar.h>
-#include <Windows.h>
-#include <winternl.h>
-#define _NTDEF_ //TODO: find a better way to include both ntsecapi.h and winternl.h or include ntdef.h for real somehow
-#include <NTSecAPI.h>
-#define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L) //TODO: #include <ntstatus.h> instead of this
-#pragma warning(pop) \ No newline at end of file