Mesa (master): mesa: include stdarg.h for va_list

Ilia Mirkin imirkin at kemper.freedesktop.org
Tue Jul 21 21:57:25 UTC 2015


Module: Mesa
Branch: master
Commit: 4c7196b684fe384599c1a02bf20aec7b6447968d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c7196b684fe384599c1a02bf20aec7b6447968d

Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Thu Jul 16 01:17:37 2015 +1000

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 <jsg at jsg.id.au>
Acked-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/mesa/main/errors.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h
index 24f234f..81e47a8 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"




More information about the mesa-commit mailing list