commit debf9d22753f054dd9d3f8971ecc6a1063c63574
Author: sin <[email protected]>
AuthorDate: Fri Nov 13 11:14:36 2015 +0000
Commit: sin <[email protected]>
CommitDate: Fri Nov 13 11:32:11 2015 +0000
Include sys/time.h for timeval structure
Without this, it breaks on NetBSD.
diff --git a/tftp.c b/tftp.c
index d0a4fa9..0a099ff 100644
--- a/tftp.c
+++ b/tftp.c
@@ -1,4 +1,5 @@
/* See LICENSE file for copyright and license details. */
+#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>