projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add own test cert and key since there seem to be a problem with the ones in 0.14.2
[umurmur.git]
/
src
/
google
/
protobuf-c
/
protobuf-c-data-buffer.c
diff --git
a/src/google/protobuf-c/protobuf-c-data-buffer.c
b/src/google/protobuf-c/protobuf-c-data-buffer.c
index 4ed46ced6d501e464048d90f0807223ab3a489c6..a13236bc5722784645f795f46ca2b52d5b1b50f2 100644
(file)
--- a/
src/google/protobuf-c/protobuf-c-data-buffer.c
+++ b/
src/google/protobuf-c/protobuf-c-data-buffer.c
@@
-23,7
+23,12
@@
#include <unistd.h>
#include <string.h>
#include <errno.h>
-#include <alloca.h>
+#if HAVE_ALLOCA_H
+# include <alloca.h>
+#elif HAVE_MALLOC_H
+# include <malloc.h>
+#endif
+#include <stdlib.h>
#include "protobuf-c-data-buffer.h"
#undef TRUE