pipebuffer: Don't include standard headers directly.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 8 May 2008 05:56:03 +0000 (14:56 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 8 May 2008 06:29:20 +0000 (15:29 +0900)
src/gallium/auxiliary/pipebuffer/pb_bufmgr.h

index 8de286e3f945d69483a37ddf9c800224285b6bc1..f6cc7a525b7bab55e8ee250f504ab8377e6f236b 100644 (file)
@@ -50,7 +50,8 @@
 #define PB_BUFMGR_H_
 
 
-#include <stddef.h>
+#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,