Commit b9f68d09 authored by Ondřej Surý's avatar Ondřej Surý

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

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]
parent c87ce5a4
Pipeline #39069 failed with stages
in 28 minutes and 17 seconds
......@@ -15,6 +15,7 @@
#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <time.h>
#include <windows.h>
#include <isc/lang.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment