Skip to content

Commit 6dfbfa5

Browse files
author
Jim Hague
committed
Add header-present guards to include of sys/time.h.
I'm not sure why this hasn't been hit before - it breaks the build on Windows. I guess that another change has started dragging in this file where it wasn't used before.
1 parent 686285e commit 6dfbfa5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/gldns/wire2str.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
#ifdef HAVE_TIME_H
2727
#include <time.h>
2828
#endif
29+
#ifdef HAVE_SYS_TIME_H
2930
#include <sys/time.h>
31+
#endif
3032
#include <stdarg.h>
3133
#include <ctype.h>
3234
#ifdef HAVE_NETDB_H

0 commit comments

Comments
 (0)