[hackers] [sbase] Include sys/time.h for timeval structure || sin

From: <git_AT_suckless.org>
Date: Fri, 13 Nov 2015 12:32:17 +0100 (CET)

commit debf9d22753f054dd9d3f8971ecc6a1063c63574
Author: sin <sin_AT_2f30.org>
AuthorDate: Fri Nov 13 11:14:36 2015 +0000
Commit: sin <sin_AT_2f30.org>
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
_AT_@ -1,4 +1,5 @@
 /* See LICENSE file for copyright and license details. */
+#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 
Received on Fri Nov 13 2015 - 12:32:17 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 13 2015 - 12:36:12 CET