mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-12-08 19:21:31 +03:00
Include headers properly
This commit is contained in:
@ -5,38 +5,35 @@
|
||||
// SM.c
|
||||
// VPN Server Manager for Win32
|
||||
|
||||
#include <GlobalConst.h>
|
||||
#ifdef OS_WIN32
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#define SM_C
|
||||
#define CM_C
|
||||
#define NM_C
|
||||
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#define WINVER 0x0600
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <wincrypt.h>
|
||||
#include <wininet.h>
|
||||
#include <shlobj.h>
|
||||
#include <commctrl.h>
|
||||
#include <Dbghelp.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
#include <stdarg.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <Mayaqua/Mayaqua.h>
|
||||
#include <Cedar/Cedar.h>
|
||||
#include "CMInner.h"
|
||||
#include "SM.h"
|
||||
#include "SMInner.h"
|
||||
|
||||
#include "AzureClient.h"
|
||||
#include "CMInner.h"
|
||||
#include "Console.h"
|
||||
#include "Database.h"
|
||||
#include "Layer3.h"
|
||||
#include "NMInner.h"
|
||||
#include "EMInner.h"
|
||||
#include "Proto_PPP.h"
|
||||
#include "Radius.h"
|
||||
#include "Remote.h"
|
||||
#include "Server.h"
|
||||
|
||||
#include "Mayaqua/Cfg.h"
|
||||
#include "Mayaqua/FileIO.h"
|
||||
#include "Mayaqua/Internat.h"
|
||||
#include "Mayaqua/Memory.h"
|
||||
#include "Mayaqua/Microsoft.h"
|
||||
#include "Mayaqua/Secure.h"
|
||||
#include "Mayaqua/Str.h"
|
||||
|
||||
#include "../PenCore/resource.h"
|
||||
|
||||
#include <shellapi.h>
|
||||
#include <shlobj.h>
|
||||
|
||||
// Global variable
|
||||
static SM *sm = NULL;
|
||||
static bool link_create_now = false;
|
||||
|
||||
Reference in New Issue
Block a user