mesa: fix potential mem leak in generate_mipmap_compressed()
[mesa.git] / src / mesa / main / mm.c
index 3ef38e94be9ce82cc607074c88078e3ca68105cb..ab32123a40383b2881531010e3ee2eb49ef301ff 100644 (file)
  *
  */
 
+#include <assert.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "compiler.h"
 #include "mm.h"
 
 
@@ -206,7 +211,7 @@ mmFindBlock(struct mem_block *heap, unsigned start)
 }
 
 
-static INLINE int
+static inline int
 Join2Blocks(struct mem_block *p)
 {
    /* XXX there should be some assertions here */