2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

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]
This commit is contained in:
Ondřej Surý
2020-04-07 15:32:47 +02:00
parent c87ce5a410
commit b9f68d098b

View File

@@ -15,6 +15,7 @@
#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <time.h>
#include <windows.h>
#include <isc/lang.h>