mesa: move ADD_POINTERS to macros.h
authorDylan Baker <dylan@pnwbakers.com>
Thu, 13 Sep 2018 20:45:44 +0000 (13:45 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 21 Apr 2020 18:09:03 +0000 (11:09 -0700)
I'm not really sure where else to put it. Since imports.h only has two
things left in it (neither of which are abstractions for smoothing away
libc differences) I'd like to get them out of there. macros.h is the
only place I can think of to put this macro.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>

src/mesa/program/prog_instruction.c

index 4673dd59a245b52ece2b3a965b0e81c59762be35..7a2407048aa866db8bcea0781017924f9c6ff31e 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 
+#include <stdio.h>
 #include "main/glheader.h"
 #include "util/imports.h"
 #include "prog_instruction.h"