summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kramm <kramm@quiss.org>2011-11-28 12:37:43 -0800
committerMatthias Kramm <kramm@quiss.org>2011-11-28 12:37:43 -0800
commitb6eb20c030f6d7d6bc0302cd813e94cebb199055 (patch)
tree970427fcad709a34ceb78f8baeea5584a2a8f53d
parentb29affded6213a4fd53bbfbaa7d27f7685af9509 (diff)
fixed compile error if calloc is missing
-rw-r--r--lib/mem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mem.h b/lib/mem.h
index e864bbf0..ee60920b 100644
--- a/lib/mem.h
+++ b/lib/mem.h
@@ -5,6 +5,8 @@
extern "C" {
#endif
+#include <stdlib.h>
+
#include "../config.h"
#define ALLOC_ARRAY(type, num) (((type)*)rfxalloc(sizeof(type)*(num)))