for w32 port
[oweals/gnunet.git] / src / include / gnunet_common.h
index 8703dc3b7870b4b690df43644d76ab07ccc99b0c..7f8a78f54587b6219a393732f4c2d1cb07bdf4ba 100644 (file)
 #ifdef MINGW
 #include "winproc.h"
 #endif
-
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
 /**
  * Version of the API (for entire gnunetutil.so library).
  */
@@ -491,7 +494,7 @@ void *GNUNET_xmalloc_unchecked_ (size_t size,
  * memory is available.
  */
 void *GNUNET_xrealloc_ (void *ptr,
-                        const size_t n, const char *filename, int linenumber);
+                        size_t n, const char *filename, int linenumber);
 
 /**
  * Free memory. Merely a wrapper for the case that we