From 2307170a7f009bc41a24bdf430b5d48758b3b042 Mon Sep 17 00:00:00 2001
From: Alexander von Gluck IV <kallisti5@unixzen.com>
Date: Tue, 20 May 2014 19:20:58 -0500
Subject: [PATCH] haiku: Add missing u_memory.h for FREE()

Acked-by: Brian Paul <brianp@vmware.com>
---
 src/gallium/targets/haiku-softpipe/GalliumContext.cpp     | 1 +
 src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
index 52cd764..d6b5f85 100644
--- a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
+++ b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
@@ -26,6 +26,7 @@ extern "C" {
 #include "state_tracker/st_gl_api.h"
 #include "state_tracker/st_manager.h"
 #include "state_tracker/sw_winsys.h"
+#include "util/u_memory.h"
 #include "hgl_sw_winsys.h"
 
 #include "target-helpers/inline_sw_helper.h"
diff --git a/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp b/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp
index dd726ef..f367d9d 100644
--- a/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp
+++ b/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp
@@ -16,6 +16,7 @@ extern "C" {
 #include "main/renderbuffer.h"
 #include "pipe/p_format.h"
 #include "state_tracker/st_manager.h"
+#include "util/u_memory.h"
 }
 
 #include "GalliumContext.h"
-- 
1.8.3.4

