commit | 61f760b78d7e731a074201ce091607e509511e13 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Sun Jan 08 19:45:52 2017 +0100 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Mon Jan 09 16:00:25 2017 -0500 |
tree | 52658e0e56d5d4767d2fbd8fbf73338c4c807321 | |
parent | 3c85f9f1a08d0970cfa26a368e9f979f6993eda0 [diff] |
checkpolicy: always include ctypes.h The prototype of isdigit() is provided by ctypes.h header. Without including this file, gcc fails to build checkpolicy using musl libc: checkpolicy.c: In function ‘main’: checkpolicy.c:705:8: error: implicit declaration of function ‘isdigit’ [-Werror=implicit-function-declaration] if (isdigit(ans[0])) { ^~~~~~~ Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>