mesa: include stdarg.h for va_list
authorJonathan Gray <jsg@jsg.id.au>
Wed, 15 Jul 2015 15:17:37 +0000 (01:17 +1000)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 21 Jul 2015 21:53:00 +0000 (17:53 -0400)
Include stdarg.h for va_list.  Unbreaks the build on OpenBSD:

In file included from mesa/program/dummy_errors.c:24:
../src/mesa/main/errors.h:85: error: expected declaration specifiers or '...' before 'va_list'

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/errors.h

index 24f234f7f103cf44c6891bee7f517ed4199475c7..81e47a8b8c188cb3293b2851d152452a59425bad 100644 (file)
@@ -37,6 +37,7 @@
 
 
 #include <stdio.h>
+#include <stdarg.h>
 #include "compiler.h"
 #include "glheader.h"
 #include "mtypes.h"