summaryrefslogtreecommitdiff
path: root/src/commands/cmd_stats.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-07-17 22:10:49 -0400
committerAdam <Adam@anope.org>2012-07-17 22:10:49 -0400
commit3f5c635c38919396f6f31a5bcea5358314d01f83 (patch)
treee0889af4b74834f9c056c81bd676e4c606181ffb /src/commands/cmd_stats.cpp
parent0e8c46340c2d95239e0f11de510f758bf08cc681 (diff)
Fixed Windows build
Diffstat (limited to 'src/commands/cmd_stats.cpp')
-rw-r--r--src/commands/cmd_stats.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp
index 6b21d0db6..3b0507175 100644
--- a/src/commands/cmd_stats.cpp
+++ b/src/commands/cmd_stats.cpp
@@ -23,6 +23,10 @@
#include "xline.h"
#include "commands/cmd_whowas.h"
+#ifdef WINDOWS
+# pragma comment(lib, "psapi.lib") // For GetProcessMemoryInfo()
+#endif
+
/** Handle /STATS. These command handlers can be reloaded by the core,
* and handle basic RFC1459 commands. Commands within modules work
* the same way, however, they can be fully unloaded, where these