| 1 | diff -ruN a/check_strftime.sh b/check_strftime.sh
|
| 2 | |
| 3 | |
| 4 | @@ -14,6 +14,7 @@
|
| 5 | #include <stdlib.h>
|
| 6 | #include <time.h>
|
| 7 | #include <sys/time.h>
|
| 8 | +#include <ctype.h>
|
| 9 |
|
| 10 | int
|
| 11 | main (void)
|
| 12 | diff -ruN a/dlib/include/dlib.h b/dlib/include/dlib.h
|
| 13 | |
| 14 | |
| 15 | @@ -1,7 +1,9 @@
|
| 16 | #ifndef __DLIB_H
|
| 17 | #define __DLIB_H 1
|
| 18 |
|
| 19 | -typedef enum { false, true } bool;
|
| 20 | +#if __STDC_VERSION__ < 202311L
|
| 21 | + typedef enum { false, true } bool;
|
| 22 | +#endif
|
| 23 | enum { ERROR, SUCCESS, DLIB_MAXBUF = 1024 };
|
| 24 |
|
| 25 | #define DLIB_VERSION "0.1b"
|