Index: srtp/crypto/kernel/alloc.c |
diff --git a/srtp/crypto/kernel/alloc.c b/srtp/crypto/kernel/alloc.c |
index 5dd094749000d19350a3ce0b892eecbf00838ee4..e728798c8101efe6acae553fe05abf09ce20358d 100644 |
--- a/srtp/crypto/kernel/alloc.c |
+++ b/srtp/crypto/kernel/alloc.c |
@@ -42,6 +42,10 @@ |
* |
*/ |
+#ifdef HAVE_CONFIG_H |
+ #include <config.h> |
+#endif |
+ |
#include "alloc.h" |
#include "crypto_kernel.h" |
@@ -73,8 +77,9 @@ crypto_alloc(size_t size) { |
if (ptr) { |
debug_print(mod_alloc, "(location: %p) allocated", ptr); |
- } else |
+ } else { |
debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); |
+ } |
return ptr; |
} |
@@ -98,9 +103,10 @@ crypto_alloc(size_t size) { |
if (ptr) { |
debug_print(mod_alloc, "(location: %p) allocated", ptr); |
- } else |
+ } else { |
debug_print(mod_alloc, "allocation failed (asked for %d bytes)\n", size); |
- |
+ } |
+ |
return ptr; |
} |