diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2022-12-11 15:51:24 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2022-12-11 16:24:07 -0800 |
commit | 2a3863d2e24dbc2dde3fb447781a7d0d25cc9737 (patch) | |
tree | abdb59740c19551abcbce982f2d0dd05bf703701 | |
parent | f5d47f2a45db49e968a0303a8afdd0824d17b72b (diff) |
bitcount: Add missing include for debug() prototype
bitcount.c:192:2: error: implicit declaration of function 'debug' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
debug(1, "getpix: Pixel is %lx from %lx and %lx.", pix, m, p);
^
1 error generated.
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r-- | xts5/src/lib/bitcount.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xts5/src/lib/bitcount.c b/xts5/src/lib/bitcount.c index 69f66d7f..a1b2fa13 100644 --- a/xts5/src/lib/bitcount.c +++ b/xts5/src/lib/bitcount.c @@ -105,6 +105,12 @@ makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "xtestlib.h" + /* * Explanation: * First we add 32 1-bit fields to get 16 2-bit fields. |