router_add_listener: use undocumented(?) alias to get mtimespec
Turns out st_mtimespec only exists on Darwin, Linux has st_mtim, but
both have compatibility defines for st_mtime, so use that.
@@ -1042,7 +1042,7 @@ router_add_listener(
lwalk->sslstrms = NULL;
lwalk->pemcert = pemcert;
if (stat(pemcert, &st) != -1) {
- memcpy(&(lwalk->pemmtimespec), &(st.st_mtimespec),
+ memcpy(&(lwalk->pemmtimespec), &(st.st_mtime),
sizeof(struct timespec));
} else {
lwalk->pemmtimespec.tv_sec = 0;
