add time.h to fix linux build

This commit is contained in:
dholland 2012-01-04 15:29:02 +00:00
parent e12e0c8d0d
commit 8c6879c1ee
2 changed files with 16 additions and 5 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.7 2011/04/03 09:18:44 obache Exp $ $NetBSD: distinfo,v 1.8 2012/01/04 15:29:02 dholland Exp $
SHA1 (Sharity-Light.1.2.tar.gz) = 4a8e93695b1772005e401c2aafbd3f5f70a3b30e SHA1 (Sharity-Light.1.2.tar.gz) = 4a8e93695b1772005e401c2aafbd3f5f70a3b30e
RMD160 (Sharity-Light.1.2.tar.gz) = 35fba8ab2ebd98cf32f2b20ac0fc8325a6c69325 RMD160 (Sharity-Light.1.2.tar.gz) = 35fba8ab2ebd98cf32f2b20ac0fc8325a6c69325
@ -8,4 +8,4 @@ SHA1 (patch-ab) = 1f49eb5831020d9c491c2c872e07d68287e5c72a
SHA1 (patch-ac) = 2087a294f04ff2cc4fc4edd1814807e6f01cd949 SHA1 (patch-ac) = 2087a294f04ff2cc4fc4edd1814807e6f01cd949
SHA1 (patch-ad) = 9d884d65a3f12de391a190a43104c97073dcc785 SHA1 (patch-ad) = 9d884d65a3f12de391a190a43104c97073dcc785
SHA1 (patch-ae) = a9f49fd4322f92f53e217b1fe9c5b3d54eb00515 SHA1 (patch-ae) = a9f49fd4322f92f53e217b1fe9c5b3d54eb00515
SHA1 (patch-af) = 74551def230d03eb5c28fa6ad37f2639514018f8 SHA1 (patch-af) = b5711d48253fdb261a18610820674baec8fdf9ab

View file

@ -1,8 +1,19 @@
$NetBSD: patch-af,v 1.1 2005/12/18 20:14:03 joerg Exp $ $NetBSD: patch-af,v 1.2 2012/01/04 15:29:02 dholland Exp $
--- syshdr.h.orig 2005-12-18 20:00:48.000000000 +0000 - needs <time.h> on linux
- dragonfly support
--- syshdr.h.orig 1998-11-16 17:03:49.000000000 +0000
+++ syshdr.h +++ syshdr.h
@@ -47,6 +47,9 @@ @@ -15,6 +15,7 @@
#include <sys/socket.h>
#include <unistd.h>
#include <sys/time.h>
+#include <time.h>
#include <fcntl.h>
#include <sys/errno.h>
#include <errno.h>
@@ -47,6 +48,9 @@
# define BSD4_4_LITE2 # define BSD4_4_LITE2
# endif # endif
#endif #endif