Commit 4531a152 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add stdlib to get size_t in C headers

parent e1674bbe
...@@ -41,6 +41,13 @@ ...@@ -41,6 +41,13 @@
extern "C" { extern "C" {
#endif #endif
#ifdef __unix__
#include <stdlib.h>
#include <stdio.h>
#else
typedef unsigned size_t;
#endif
void @_LOWER:Name_@_startup(); void @_LOWER:Name_@_startup();
/* Provided interfaces */ /* Provided interfaces */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment