diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-02-24 21:09:25 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-02-24 21:09:25 +0200 |
commit | 011a30af9c015b1edd67420d9ca947e9fb499e73 (patch) | |
tree | 00d1c6ba3c42a13ae91e7c6ec2b9ae714193eb70 /pb.h | |
parent | 842c960d5df4b7715b0c7d2c00adeddf84389421 (diff) |
Beginnings of malloc support in pb_decode
Diffstat (limited to 'pb.h')
-rw-r--r-- | pb.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -63,6 +63,10 @@ #include <stddef.h> #include <stdbool.h> #include <string.h> + +#ifdef PB_ENABLE_MALLOC +#include <stdlib.h> +#endif #endif /* Macro for defining packed structures (compiler dependent). |