about summary refs log tree commit
diff options
context:
space:
mode:
-rw-r--r--ext/rpatricia/patricia.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/rpatricia/patricia.c b/ext/rpatricia/patricia.c
index cf25167..f905a81 100644
--- a/ext/rpatricia/patricia.c
+++ b/ext/rpatricia/patricia.c
@@ -19,6 +19,7 @@ static char copyright[] =
 #include <assert.h> /* assert */
 #include <ctype.h> /* isdigit */
 #include <errno.h> /* errno */
+#include <limits.h> /* CHAR_BIT */
 #include <math.h> /* sin */
 #include <stddef.h> /* NULL */
 #include <stdio.h> /* sprintf, fprintf, stderr */