diff options
author | Guillaume Melquiond <[email protected]> | 2008-07-14 08:50:36 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-14 08:50:36 -0600 |
commit | 4430597bf6944951136a16c39a7bc458dc926800 (patch) | |
tree | 06993a48f0b16f63b3c25b913cfa4dfbe4230e39 /progs/tools/trace | |
parent | 0a7df3794c35ed53c0243ec2b5e954debedfdfe6 (diff) |
fix gltrace (bug 16691)
Diffstat (limited to 'progs/tools/trace')
-rw-r--r-- | progs/tools/trace/gltrace_support.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/tools/trace/gltrace_support.cc b/progs/tools/trace/gltrace_support.cc index b188e73f29e..0b76d3247d7 100644 --- a/progs/tools/trace/gltrace_support.cc +++ b/progs/tools/trace/gltrace_support.cc @@ -20,6 +20,8 @@ */ #include "gltrace_support.h" +#include <cstdlib> +#include <cstring> #include <assert.h> #include <sstream> #include <fstream> @@ -136,7 +138,7 @@ namespace gltrace { struct timeval now; struct tm t; - static char *months[12] = + static char const *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" |