From: José Fonseca Date: Thu, 8 May 2008 05:56:03 +0000 (+0900) Subject: pipebuffer: Don't include standard headers directly. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53996e562f8623ccb1defeaaa77efdff24477808;p=mesa.git pipebuffer: Don't include standard headers directly. --- diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h b/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h index 8de286e3f94..f6cc7a525b7 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h +++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr.h @@ -50,7 +50,8 @@ #define PB_BUFMGR_H_ -#include +#include "pipe/p_compiler.h" +#include "pipe/p_error.h" #ifdef __cplusplus @@ -68,7 +69,6 @@ struct pipe_winsys; */ struct pb_manager { - /* XXX: we will likely need more allocation flags */ struct pb_buffer * (*create_buffer)( struct pb_manager *mgr, size_t size,