summaryrefslogtreecommitdiff
path: root/emulators/x48/patches/patch-src_timer_c
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-23 05:22:37 +0000
committerdholland <dholland@pkgsrc.org>2012-05-23 05:22:37 +0000
commit99eb96118818e4f0296b7236c5414fee7ab0ae41 (patch)
treefc949831ca0ac14d112430d59688a99172738f36 /emulators/x48/patches/patch-src_timer_c
parent9148227c6cd429606626e41c9efe3c27b04e1000 (diff)
downloadpkgsrc-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_c14
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"