intel/tools: include stdarg.h in error2aub
authorJonathan Gray <jsg@jsg.id.au>
Thu, 1 Nov 2018 04:07:32 +0000 (15:07 +1100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 1 Nov 2018 10:27:26 +0000 (10:27 +0000)
Include stdarg.h in error2aub.c otherwise it fails to build on
OpenBSD due to not finding definitions for va_list va_start va_end.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/error2aub.c

index 8a23d5ef1e7445faa9cc704867b896223108dde9..b6e056cbcdefd7764a123702aa8f28bd2cc435ae 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdarg.h>
 #include <zlib.h>
 
 #include "aub_write.h"