Fix a nasty bug where the wrong pointer was passed to the C side.
[SXSI/xpathcomp.git] / src / common_stub.hpp
index ad15256..3e874b7 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef COMMON_STUB_H_
-#define COMMON_STUB_H_
+#ifndef COMMON_STUB_HPP_
+#define COMMON_STUB_HPP_
 
 extern "C" {
 #define CAML_NAME_SPACE
@@ -13,6 +13,7 @@ extern "C" {
 #include <caml/bigarray.h>
 }
 #include <typeinfo>
+#include <cstdio>
 
 #define NoAlloc