diff options
author | Matthias Kramm <kramm@quiss.org> | 2011-11-28 12:37:43 -0800 |
---|---|---|
committer | Matthias Kramm <kramm@quiss.org> | 2011-11-28 12:37:43 -0800 |
commit | b6eb20c030f6d7d6bc0302cd813e94cebb199055 (patch) | |
tree | 970427fcad709a34ceb78f8baeea5584a2a8f53d | |
parent | b29affded6213a4fd53bbfbaa7d27f7685af9509 (diff) |
fixed compile error if calloc is missing
-rw-r--r-- | lib/mem.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,8 @@ extern "C" { #endif +#include <stdlib.h> + #include "../config.h" #define ALLOC_ARRAY(type, num) (((type)*)rfxalloc(sizeof(type)*(num))) |