summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorJonathan Gray <[email protected]>2015-07-16 01:17:37 +1000
committerIlia Mirkin <[email protected]>2015-07-21 17:53:00 -0400
commit4c7196b684fe384599c1a02bf20aec7b6447968d (patch)
tree140d12aa0d75c57dd0efff78d139c463073599b8 /src/mesa/main
parenta2a1a5805fd617e7f3cc8be44dd79b50da07ebb9 (diff)
mesa: include stdarg.h for va_list
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 <[email protected]> Acked-by: Matt Turner <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h
index 24f234f7f10..81e47a8b8c1 100644
--- a/src/mesa/main/errors.h
+++ b/src/mesa/main/errors.h
@@ -37,6 +37,7 @@
#include <stdio.h>
+#include <stdarg.h>
#include "compiler.h"
#include "glheader.h"
#include "mtypes.h"