alroyso 4 months ago
parent
commit
05b00ef599
1 changed files with 10 additions and 8 deletions
  1. 10 8
      windows/wl_base_help_plugin.cpp

+ 10 - 8
windows/wl_base_help_plugin.cpp

@@ -3,6 +3,16 @@
 // This must be included before many other Windows headers.
 #include <windows.h>
 #include <tlhelp32.h>
+#include <WinInet.h>
+#include <Ras.h>
+#include <RasError.h>
+#include <vector>
+#include <iostream>
+
+#pragma comment(lib, "wininet")
+#pragma comment(lib, "Rasapi32")
+
+
 #include <string>
 // For getPlatformVersion; remove unless needed for your plugin implementation.
 #include <VersionHelpers.h>
@@ -15,15 +25,7 @@
 #include <sstream>
 
 
-#include <Windows.h>
-#include <Wininet.h>
-#include <Ras.h>
-#include <string>
-#include <vector>
-#include <iostream>
 
-#pragma comment(lib, "wininet.lib")
-#pragma comment(lib, "rasapi32.lib")
 typedef LONG NTSTATUS, * PNTSTATUS;
 #define STATUS_SUCCESS (0x00000000)