diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-02-26 21:12:00 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-02-26 21:12:00 +0000 |
commit | 9c11ae6587aa460cfee48fe6e71f51f7e56126ad (patch) | |
tree | 9cc1a7bd553118cc1f29ebe3520715965ea72939 | |
parent | d2b6e41d393e5562063edc6a1aa87e014a0ddc75 (diff) | |
download | rpatricia-9c11ae6587aa460cfee48fe6e71f51f7e56126ad.tar.gz |
patricia.c: include limits.h for CHAR_BIT macro
POSIX manpage for limits.h stipulates CHAR_BIT is defined there, so pull it in explicitly.
-rw-r--r-- | ext/rpatricia/patricia.c | 1 |
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 */ |