summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commands/cmd_stats.cpp1
-rw-r--r--win/inspircd_win32wrapper.h18
2 files changed, 10 insertions, 9 deletions
diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp
index d952350ea..b4e3d64be 100644
--- a/src/commands/cmd_stats.cpp
+++ b/src/commands/cmd_stats.cpp
@@ -20,6 +20,7 @@
#endif
#else
#include <psapi.h>
+ #include "inspircd_win32wrapper.h"
#pragma comment(lib, "psapi.lib")
#endif
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 86382157e..600882839 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -196,22 +196,22 @@ class ValueItem;
class ServerConfig;
/* Look up the nameserver in use from the registry on windows */
-std::string FindNameServerWin();
+CoreExport std::string FindNameServerWin();
/* Clear a windows console */
-void ClearConsole();
+CoreExport void ClearConsole();
-DWORD WindowsForkStart(InspIRCd* Instance);
+CoreExport DWORD WindowsForkStart(InspIRCd* Instance);
-void WindowsForkKillOwner(InspIRCd* Instance);
+CoreExport void WindowsForkKillOwner(InspIRCd* Instance);
-void ChangeWindowsSpecificPointers(InspIRCd* Instance);
+CoreExport void ChangeWindowsSpecificPointers(InspIRCd* Instance);
-bool ValidateWindowsDnsServer(ServerConfig* conf, const char* tag, const char* value, ValueItem &data);
+CoreExport bool ValidateWindowsDnsServer(ServerConfig* conf, const char* tag, const char* value, ValueItem &data);
-bool initwmi();
-void donewmi();
-int getcpu();
+CoreExport bool initwmi();
+CoreExport void donewmi();
+CoreExport int getcpu();
#endif