projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
memaslap: fix global/period rate
[awesomized/libmemcached]
/
src
/
libmemcached
/
assert.hpp
diff --git
a/src/libmemcached/assert.hpp
b/src/libmemcached/assert.hpp
index 4088c0f10e813b9cf4beb8c88d2fa209f202c7f1..abad23d16d49e32f80b13de4fa3ce3b78ce8f740 100644
(file)
--- a/
src/libmemcached/assert.hpp
+++ b/
src/libmemcached/assert.hpp
@@
-36,12
+36,18
@@
# ifdef __cplusplus
# include <cstdarg>
# ifdef __cplusplus
# include <cstdarg>
+# include <cstdlib>
# include <cstdio>
# else
# include <stdarg.h>
# include <cstdio>
# else
# include <stdarg.h>
+# include <stdlib.h>
# include <stdio.h>
# endif
# include <stdio.h>
# endif
+# ifdef HAVE_ALLOCA_H
+# include <alloca.h>
+# endif
+
# include "libmemcached/backtrace.hpp"
# define assert_msg(__expr, __mesg) \
# include "libmemcached/backtrace.hpp"
# define assert_msg(__expr, __mesg) \