Hello. I have that error:
Error: illegal recursion in type 'h2o_timestamp_t'
In code:
type
h2o_timestamp_string_t* {.pure, final, importc: "h2o_timestamp_string_t", header: h2o_header_file.} = object
rfc1123* {.importc: "rfc1123".}: array[H2O_TIMESTR_RFC1123_LEN + 1, char]
log* {.importc: "log".}: array[H2O_TIMESTR_LOG_LEN + 1, char]
h2o_timestamp_t* {.pure, final, importc: "h2o_timestamp_t", header: h2o_header_file.} = object
at* {.importc: "at".}: timeval
str* {.importc: "str".}: ptr h2o_timestamp_string_t
How import Timeval?
Why is the reason of error illegal recursion in type?