]> git.itanic.dy.fi Git - scan-pagemap/commitdiff
pagemap.h: Fix compiler warning
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 26 Aug 2010 18:42:18 +0000 (21:42 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 26 Aug 2010 18:42:56 +0000 (21:42 +0300)
As there is now call to malloc(), the stdlib.h needs to be included.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
pagemap.h

index 43d34baa73a25f755642632c887c3f042d14f1c0..0eb280cd35673b0649003cbca97bcdf4b61b2803 100644 (file)
--- a/pagemap.h
+++ b/pagemap.h
@@ -1,6 +1,8 @@
 #ifndef _PAGEMAP_H
 #define _PAGEMAP_H
 
+#include <stdlib.h>
+
 #include "utils.h"
 #include "list.h"
 #include "bintree.h"