X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a..HEAD:/math/bittest.c diff --git a/math/bittest.c b/math/bittest.c index 5f7b1d76..e335286e 100644 --- a/math/bittest.c +++ b/math/bittest.c @@ -29,6 +29,7 @@ #include #include +#include #include "bitops.h" #include "mpx.h" @@ -45,7 +46,7 @@ int main(void) buf[2] = B##string(1u, 0u) & 1u? '1' : '0'; \ buf[3] = B##string(1u, 1u) & 1u? '1' : '0'; \ buf[4] = 0; \ - if (strcmp(buf, ref) != 0) { \ + if (STRCMP(buf, !=, ref)) { \ fprintf(stderr, "mismatch ref `%s' != buf `%s'\n", ref, buf); \ rc = 1; \ } \