summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-09-13 13:45:44 -0700
committerDylan Baker <[email protected]>2020-04-21 11:09:03 -0700
commitc3db0936ef3077b656d55208dd5ae10437ddc2f7 (patch)
tree9f3c1187553fab5237a01b3ea162ee1e1afe5d1f /src/mesa
parentbf188f3494b85f550a39dddbf059669c2a9ee324 (diff)
mesa: move ADD_POINTERS to macros.h
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 <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/program/prog_instruction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/program/prog_instruction.c b/src/mesa/program/prog_instruction.c
index 4673dd59a24..7a2407048aa 100644
--- a/src/mesa/program/prog_instruction.c
+++ b/src/mesa/program/prog_instruction.c
@@ -24,6 +24,7 @@
*/
+#include <stdio.h>
#include "main/glheader.h"
#include "util/imports.h"
#include "prog_instruction.h"