mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 01:02:26 +01:00
Fix implicit function declaration and bool type errors.
```
checking if strftime is GNU or Non-GNU... /tmp/strftime_try.c: In function 'main':
/tmp/strftime_try.c:16:8: error: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
16 | if (!isdigit(buf[1]))
| ^~~~~~~
/tmp/strftime_try.c:5:1: note: include '<ctype.h>' or provide a declaration of 'isdigit'
4 | #include <sys/time.h>
+++ |+#include <ctype.h>
5 |
ERROR: Could not compile strftime().
```
```
In file included from src/dhash.c:7:
/home/[...]/aports/main/email/src/email-3.1.3/dlib/include/dlib.h:4:16: error: cannot use keyword 'false' as enumeration constant
4 | typedef enum { false, true } bool;
| ^~~~~
/home/[...]/aports/main/email/src/email-3.1.3/dlib/include/dlib.h:4:16: note: 'false' is a keyword with '-std=c23' onwards
```