[libbluray-devel] commit: macro.h: include stdlib.h [ free() ] (hpi1 )

git at videolan.org git at videolan.org
Fri Aug 20 10:28:11 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Aug 20 11:25:22 2010 +0300| [2e9689dcc26f8af88815eef5293df4202123c675] | committer: hpi1 

macro.h: include stdlib.h [ free() ]

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2e9689dcc26f8af88815eef5293df4202123c675
---

 src/util/macro.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/util/macro.h b/src/util/macro.h
index d57dfe6..89c90a7 100644
--- a/src/util/macro.h
+++ b/src/util/macro.h
@@ -21,7 +21,8 @@
 #ifndef MACRO_H_
 #define MACRO_H_
 
-#include <stdio.h>
+#include <stdio.h>   /* fprintf() */
+#include <stdlib.h>  /* free() */
 
 #define HEX_PRINT(X,Y) { int zz; for(zz = 0; zz < Y; zz++) fprintf(stderr, "%02X", X[zz]); fprintf(stderr, "\n"); }
 #define MKINT_BE16(X) ( (X)[0] << 8 | (X)[1] )



More information about the libbluray-devel mailing list