time.h has existed since C89 so is a standard header expected to always be available. sys/time.h was an optional header that historically only some platforms provided. If there is a conflict on specific platforms it is better to '#if !defined()' that specific niche platform with the problem if both headers are included in the same compile unit. But I don't think this is a problem in modern times. So this results in a resolution that removes #ifdef around time.h and the detection by configure for the availabiltiy of sys/time.h. K&R obsolete syntax removal for C23 compatibility series |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| config.guess | ||
| config.sub | ||
| configure | ||
| configure.in | ||
| configure_mac | ||
| defs.mak.in | ||
| install-sh | ||
| magic.spec.in | ||
| makedbh.in | ||
| missing | ||
| mkdirs | ||
| mkinstalldirs | ||
| preproc.py | ||
| printmans | ||