From 4430597bf6944951136a16c39a7bc458dc926800 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Mon, 14 Jul 2008 08:50:36 -0600 Subject: [PATCH] fix gltrace (bug 16691) --- progs/tools/trace/gltrace_support.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +#include #include #include #include @@ -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" -- 2.30.2