Include sys/time.h for timeval structure

Without this, it breaks on NetBSD.
This commit is contained in:
sin 2015-11-13 11:14:36 +00:00
parent eaf3f4811b
commit debf9d2275

1
tftp.c
View File

@ -1,4 +1,5 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
#include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>