summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-06-05 09:19:16 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-05 09:19:16 +0930
commit8d4d0b47a07a298a20ffae9fefe96c8c7ca9dccc (patch)
tree491b9fbc3afd2321e11004a9266a58a569c4b75c /glx
parent8644aa47177bf20f3aa85181032ce75c08270fc5 (diff)
gl: include assert.h if we're compiling with DEBUG.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
Diffstat (limited to 'glx')
-rw-r--r--glx/glapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/glx/glapi.c b/glx/glapi.c
index c4d101aee..94a804329 100644
--- a/glx/glapi.c
+++ b/glx/glapi.c
@@ -63,6 +63,9 @@
#include <stdlib.h>
#include <string.h>
+#ifdef DEBUG
+#include <assert.h>
+#endif
#include "glapi.h"
#include "glapioffsets.h"