_capsicum.c:1:10: fatal error: sys/capsicum.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. _pledge.c: In function 'main': _pledge.c:3:16: error: implicit declaration of function 'pledge' [-Werror=implicit-function-declaration] 3 | return pledge("stdio", NULL); | ^~~~~~ cc1: all warnings being treated as errors _getifaddrs_addrflags.c: In function 'main': _getifaddrs_addrflags.c:6:20: error: 'struct ifaddrs' has no member named 'ifa_addrflags'; did you mean 'ifa_flags'? 6 | return (int)ifap->ifa_addrflags; | ^~~~~~~~~~~~~ | ifa_flags _arc4random.c: In function 'main': _arc4random.c:3:2: error: implicit declaration of function 'arc4random'; did you mean 'srandom'? [-Werror=implicit-function-declaration] 3 | arc4random(); | ^~~~~~~~~~ | srandom cc1: all warnings being treated as errors _arc4random_uniform.c: In function 'main': _arc4random_uniform.c:3:2: error: implicit declaration of function 'arc4random_uniform' [-Werror=implicit-function-declaration] 3 | arc4random_uniform(100); | ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors _pidfile.c:2:10: fatal error: util.h: No such file or directory 2 | #include | ^~~~~~~~ compilation terminated. _setproctitle.c: In function 'main': _setproctitle.c:4:2: error: implicit declaration of function 'setproctitle' [-Werror=implicit-function-declaration] 4 | setproctitle("foo"); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors _strlcpy.c: In function 'main': _strlcpy.c:5:2: error: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Werror=implicit-function-declaration] 5 | strlcpy(s2, s1, sizeof(s2)); | ^~~~~~~ | strncpy cc1: all warnings being treated as errors _strtoi.c: In function 'main': _strtoi.c:6:2: error: implicit declaration of function 'strtoi'; did you mean 'strtoq'? [-Werror=implicit-function-declaration] 6 | strtoi("1234", NULL, 0, 0, INT32_MAX, &e); | ^~~~~~ | strtoq 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] 3 | 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 4 | #error TAILQ_FOREACH_SAFE | ^~~~~ _queue.c: In function 'main': _queue.c:4:2: error: #error TAILQ_FOREACH_MUTABLE 4 | #error TAILQ_FOREACH_MUTABLE | ^~~~~ _rbtree.c:1:10: fatal error: sys/rbtree.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~ compilation terminated. _be64enc.c:1:10: fatal error: sys/endian.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~ compilation terminated. _fls64.c:1:10: fatal error: sys/bitops.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~ compilation terminated. _md5.c:2:10: fatal error: md5.h: No such file or directory 2 | #include | ^~~~~~~ compilation terminated. _sha256.c: In function 'main': _sha256.c:4:2: error: unknown type name 'SHA256_CTX' 4 | SHA256_CTX context; | ^~~~~~~~~~ _sha256.c:5:2: error: implicit declaration of function 'SHA256_Init' [-Werror=implicit-function-declaration] 5 | 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' 4 | SHA2_CTX context; | ^~~~~~~~ _sha256.c:5:2: error: implicit declaration of function 'SHA256Init' [-Werror=implicit-function-declaration] 5 | SHA256Init(&context); | ^~~~~~~~~~ cc1: all warnings being treated as errors _hmac.c:2:10: fatal error: hmac.h: No such file or directory 2 | #include | ^~~~~~~~ compilation terminated. _hmac.c: In function 'main': _hmac.c:3:2: error: implicit declaration of function 'hmac' [-Werror=implicit-function-declaration] 3 | hmac(NULL, NULL, 0, NULL, 0, NULL, 0); | ^~~~ cc1: all warnings being treated as errors