diff options
author | Adam <Adam@anope.org> | 2012-07-17 22:10:49 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-07-17 22:10:49 -0400 |
commit | 3f5c635c38919396f6f31a5bcea5358314d01f83 (patch) | |
tree | e0889af4b74834f9c056c81bd676e4c606181ffb /src | |
parent | 0e8c46340c2d95239e0f11de510f758bf08cc681 (diff) |
Fixed Windows build
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/cmd_stats.cpp | 4 |
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 |