[Mesa-dev] [PATCH] swr: [rasterizer jitter] include stdarg.h in builder_misc.cpp

Jan Vesely jan.vesely at rutgers.edu
Fri Dec 2 17:53:34 UTC 2016


On Fri, 2016-12-02 at 10:53 -0600, Tim Rowley wrote:
> Fixes build problem with llvm-svn.
> ---
>  src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp b/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
> index d755cc3..fce68c8 100644
> --- a/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
> +++ b/src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
> @@ -30,6 +30,7 @@
>  #include "builder.h"
>  #include "common/rdtsc_buckets.h"
>  
> +#include <stdarg.h>

wouldn't a <cstdarg> be better for c++ source?

Jan

>  
>  namespace SwrJit
>  {
> @@ -1623,4 +1624,4 @@ namespace SwrJit
>          }
>      }
>  
> -}
> \ No newline at end of file
> +}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161202/27554ca3/attachment.sig>


More information about the mesa-dev mailing list