about summary refs log tree commit diff
path: root/database.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/database.h b/database.h
index 1299ab0..6d705db 100644
--- a/database.h
+++ b/database.h
@@ -26,6 +26,7 @@
 #include <sysexits.h>
 
 #define SQL(...) #__VA_ARGS__
+#define ARRAY_LEN(a) (sizeof(a) / sizeof((a)[0]))
 
 #define DATABASE_PATH "litterbox/litterbox.sqlite"