Mesa (master): mesa: move ADD_POINTERS to macros.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 21 20:52:39 UTC 2020


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

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Thu Sep 13 13:45:44 2018 -0700

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 <marek.olsak at amd.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>

---

 src/mesa/program/prog_instruction.c | 1 +
 1 file changed, 1 insertion(+)

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"



More information about the mesa-commit mailing list