diff options
author | dholland <dholland@pkgsrc.org> | 2012-05-23 05:22:37 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-05-23 05:22:37 +0000 |
commit | 99eb96118818e4f0296b7236c5414fee7ab0ae41 (patch) | |
tree | fc949831ca0ac14d112430d59688a99172738f36 /emulators/x48/patches/patch-src_timer_c | |
parent | 9148227c6cd429606626e41c9efe3c27b04e1000 (diff) | |
download | pkgsrc-99eb96118818e4f0296b7236c5414fee7ab0ae41.tar.gz |
Add time.h where Linux demands it.
Diffstat (limited to 'emulators/x48/patches/patch-src_timer_c')
-rw-r--r-- | emulators/x48/patches/patch-src_timer_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/x48/patches/patch-src_timer_c b/emulators/x48/patches/patch-src_timer_c new file mode 100644 index 00000000000..2ece0fa9b15 --- /dev/null +++ b/emulators/x48/patches/patch-src_timer_c @@ -0,0 +1,14 @@ +$NetBSD: patch-src_timer_c,v 1.1 2012/05/23 05:22:37 dholland Exp $ + +time.h is required on Linux. + +--- src/timer.c~ 1999-06-28 22:12:29.000000000 +0000 ++++ src/timer.c +@@ -43,6 +43,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <unistd.h> ++#include <time.h> + #include <sys/time.h> + + #include "timer.h" |