prot fix
[oweals/gnunet.git] / src / include / platform.h
index fb9c992ec80aea58336a21d568ced21cacbadffd..30fa8f9b5988c42eee57173247ae70c12d31c107 100644 (file)
@@ -99,6 +99,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdarg.h>
 #include <errno.h>
 #include <signal.h>
@@ -214,6 +215,10 @@ long long atoll (const char *nptr);
 #include "langinfo.h"
 #endif
 
+#ifndef SIZE_MAX
+#define SIZE_MAX ((size_t)(-1))
+#endif
+
 #ifndef O_LARGEFILE
 #define O_LARGEFILE 0
 #endif