From 3f5c635c38919396f6f31a5bcea5358314d01f83 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 17 Jul 2012 22:10:49 -0400 Subject: Fixed Windows build --- src/commands/cmd_stats.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/commands/cmd_stats.cpp') 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 -- cgit v1.2.3