fix windows build

This commit is contained in:
jiayuehua 2023-11-30 17:10:36 +08:00
parent f8c95b4f15
commit 2a93b14737
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@
#include "gldns/gbuffer.h"
#include <limits.h>
#include <strings.h>
#include <stdlib.h>
gldns_lookup_table gldns_directive_types[] = {
{ GLDNS_DIR_TTL, "$TTL" },

View File

@ -14,8 +14,12 @@
#include "config.h"
#include "gldns/parseutil.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#include <ctype.h>
gldns_lookup_table *