aboutsummaryrefslogtreecommitdiff
path: root/c/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/debug.h')
-rw-r--r--c/debug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/c/debug.h b/c/debug.h
index f58c700..e9cefa3 100644
--- a/c/debug.h
+++ b/c/debug.h
@@ -1,6 +1,8 @@
#ifndef DEBUG_H
#define DEBUG_H
+#include <windows.h>
+
/* Benchmark objects measure and print the time in microseconds
* between construction and destruction. Given a unique id, they also
* calculate a running average of the last `avgmax' instances of
@@ -21,6 +23,6 @@ struct Benchmark
};
/* Return name of given window message (WM_*). */
-const char* WmName(unsigned uMsg);
+const char* WmName(UINT uMsg);
#endif