Skip to content

Add missing time.h header in windows isc/time.h for missing prototypes

Ondřej Surý requested to merge ondrej/add-missing-time.h-on-win32-v9_16 into v9_16

The win32 isc/time.h was missing <time.h> header leading to:

lib\isc\win32\include\isc\time.h(29): warning C4013: 'gmtime_s'
undefined; assuming extern returning int (compiling source file
..\app.c) [lib\isc\win32\libisc.vcxproj]

lib\isc\win32\include\isc\time.h(39): warning C4013: 'localtime_s'
undefined; assuming extern returning int (compiling source file
..\app.c) [lib\isc\win32\libisc.vcxproj]

(cherry picked from commit b9f68d09)

Merge request reports