aboutsummaryrefslogtreecommitdiff
path: root/src/alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.h')
-rw-r--r--src/alloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloc.h b/src/alloc.h
index 8e8b365..301971c 100644
--- a/src/alloc.h
+++ b/src/alloc.h
@@ -3,6 +3,8 @@
#include <stddef.h>
+#include "common.h"
+
/* Allocate a buffer of NMEMB elements of size SIZE. If PTR is non-null then
reallocate the buffer it points to. Aborts on out-of-memory or overflow. */
void *bufalloc(void *ptr, size_t nmemb, size_t size)