diff --git a/unit_tests/check_digest.c b/unit_tests/check_digest.c index 006d330f..ddaead29 100644 --- a/unit_tests/check_digest.c +++ b/unit_tests/check_digest.c @@ -3,6 +3,7 @@ */ #include +#include #include #include #include diff --git a/unit_tests/check_parser.c b/unit_tests/check_parser.c index 3835240e..97e3cb30 100644 --- a/unit_tests/check_parser.c +++ b/unit_tests/check_parser.c @@ -3,6 +3,7 @@ */ #include +#include #include #include #include diff --git a/unit_tests/check_parser_utils.c b/unit_tests/check_parser_utils.c index 2b55a6af..56b3a99c 100644 --- a/unit_tests/check_parser_utils.c +++ b/unit_tests/check_parser_utils.c @@ -3,6 +3,7 @@ */ #include +#include #include #include #include @@ -53,9 +54,17 @@ static void test_parse_date_header(){ setlocale(LC_CTYPE, cfg.locale); localtime_r(&t, <); - if(lt.tm_isdst == 1) dst_fix = 3600; + if(lt.tm_isdst == 1){ + printf("DST is on\n"); + dst_fix = 3600; + } + else { + printf("DST is off\n"); + } for(i=0; i +#include #include #include #include