_capsicum.c:1:26: fatal error: sys/capsicum.h: No such file or directory #include ^ compilation terminated. _pledge.c: In function 'main': _pledge.c:3:9: error: implicit declaration of function 'pledge' [-Werror=implicit-function-declaration] return pledge("stdio", NULL); ^~~~~~ cc1: all warnings being treated as errors _getifaddrs_addrflags.c: In function 'main': _getifaddrs_addrflags.c:6:18: error: 'struct ifaddrs' has no member named 'ifa_addrflags'; did you mean 'ifa_flags'? return (int)ifap->ifa_addrflags; ^~ _arc4random.c: In function 'main': _arc4random.c:3:14: error: implicit declaration of function 'arc4random' [-Werror=implicit-function-declaration] return (int)arc4random(); ^~~~~~~~~~ cc1: all warnings being treated as errors _arc4random_uniform.c: In function 'main': _arc4random_uniform.c:3:14: error: implicit declaration of function 'arc4random_uniform' [-Werror=implicit-function-declaration] return (int)arc4random_uniform(100); ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors _pidfile.c:2:18: fatal error: util.h: No such file or directory #include ^ compilation terminated. _setproctitle.c: In function 'main': _setproctitle.c:4:2: error: implicit declaration of function 'setproctitle' [-Werror=implicit-function-declaration] setproctitle("foo"); ^~~~~~~~~~~~ cc1: all warnings being treated as errors _strlcpy.c: In function 'main': _strlcpy.c:5:14: error: implicit declaration of function 'strlcpy' [-Werror=implicit-function-declaration] return (int)strlcpy(s2, s1, sizeof(s2)); ^~~~~~~ cc1: all warnings being treated as errors _strtoi.c: In function 'main': _strtoi.c:6:14: error: implicit declaration of function 'strtoi' [-Werror=implicit-function-declaration] return (int)strtoi("1234", NULL, 0, 0, INT32_MAX, &e); ^~~~~~ cc1: all warnings being treated as errors _consttime_memequal.c: In function 'main': _consttime_memequal.c:3:9: error: implicit declaration of function 'consttime_memequal' [-Werror=implicit-function-declaration] return consttime_memequal("deadbeef", "deadbeef", 8); ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors _queue.c: In function 'main': _queue.c:4:2: error: #error TAILQ_FOREACH_SAFE #error TAILQ_FOREACH_SAFE ^~~~~ _queue.c: In function 'main': _queue.c:4:2: error: #error TAILQ_FOREACH_MUTABLE #error TAILQ_FOREACH_MUTABLE ^~~~~ _rbtree.c:1:24: fatal error: sys/rbtree.h: No such file or directory #include ^ compilation terminated. _reallocarray.c: In function 'main': _reallocarray.c:4:14: error: implicit declaration of function 'reallocarray' [-Werror=implicit-function-declaration] void *foo = reallocarray(NULL, 0, 0); ^~~~~~~~~~~~ _reallocarray.c:4:14: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] cc1: all warnings being treated as errors _be64enc.c:1:24: fatal error: sys/endian.h: No such file or directory #include ^ compilation terminated. _fls64.c:1:24: fatal error: sys/bitops.h: No such file or directory #include ^ compilation terminated. _md5.c:2:17: fatal error: md5.h: No such file or directory #include ^ compilation terminated. _sha256.c: In function 'main': _sha256.c:4:2: error: unknown type name 'SHA256_CTX' SHA256_CTX context; ^~~~~~~~~~ _sha256.c:5:2: error: implicit declaration of function 'SHA256_Init' [-Werror=implicit-function-declaration] SHA256_Init(&context); ^~~~~~~~~~~ cc1: all warnings being treated as errors _sha256.c: In function 'main': _sha256.c:4:2: error: unknown type name 'SHA2_CTX' SHA2_CTX context; ^~~~~~~~ _sha256.c:5:2: error: implicit declaration of function 'SHA256Init' [-Werror=implicit-function-declaration] SHA256Init(&context); ^~~~~~~~~~ cc1: all warnings being treated as errors _hmac.c:2:18: fatal error: hmac.h: No such file or directory #include ^ compilation terminated. _hmac.c: In function 'main': _hmac.c:3:14: error: implicit declaration of function 'hmac' [-Werror=implicit-function-declaration] return (int)hmac(NULL, NULL, 0, NULL, 0, NULL, 0); ^~~~ cc1: all warnings being treated as errors