fix gltrace (bug 16691)

This commit is contained in:
Guillaume Melquiond 2008-07-14 08:50:36 -06:00 committed by Brian Paul
parent 0a7df3794c
commit 4430597bf6
1 changed files with 3 additions and 1 deletions

View File

@ -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"