summaryrefslogtreecommitdiff
path: root/include/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/array.h')
-rw-r--r--include/array.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/array.h b/include/array.h
index 5f81798..9affdde 100644
--- a/include/array.h
+++ b/include/array.h
@@ -6,6 +6,8 @@
#define ARRAY_H
#include <stddef.h>
+#include <string.h>
+#include <stdlib.h>
#define len(X) (sizeof X / sizeof *X)
#define array(T) struct { size_t len; T *data; }