diff --git a/testcode/replay.c b/testcode/replay.c index 1dda3d81a..b5235d7a6 100644 --- a/testcode/replay.c +++ b/testcode/replay.c @@ -51,6 +51,9 @@ #include "testcode/testpkts.h" #include "testcode/fake_event.h" #include "sldns/str2wire.h" +#ifdef ctime_r +#undef ctime_r +#endif /** max length of lines in file */ #define MAX_LINE_LEN 10240