projects/aports·blob master · refs

25 lines · 716 B

1diff -ruN a/check_strftime.sh b/check_strftime.sh
2--- a/check_strftime.sh 2010-10-31 17:09:15.000000000 +0000
3+++ b/check_strftime.sh 2025-07-30 05:09:12.870000000 +0000
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)
12diff -ruN a/dlib/include/dlib.h b/dlib/include/dlib.h
13--- a/dlib/include/dlib.h 2010-09-20 23:44:48.000000000 +0000
14+++ b/dlib/include/dlib.h 2025-07-30 05:42:03.550000000 +0000
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"