Skip to content

Commit

Permalink
Add header-present guards to include of sys/time.h.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Jim Hague committed May 27, 2021
1 parent 686285e commit 6dfbfa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gldns/wire2str.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <stdarg.h>
#include <ctype.h>
#ifdef HAVE_NETDB_H
Expand Down

0 comments on commit 6dfbfa5

Please sign in to comment.