summaryrefslogtreecommitdiff
path: root/emulators/x48/patches
diff options
context:
space:
mode:
authordholland <dholland>2012-05-23 05:22:37 +0000
committerdholland <dholland>2012-05-23 05:22:37 +0000
commit929426206a322e178b8f812e62e2fa16637672c8 (patch)
treefc949831ca0ac14d112430d59688a99172738f36 /emulators/x48/patches
parent5b8f33b2bb04983f3c8f57c87586252f51d0623a (diff)
downloadpkgsrc-929426206a322e178b8f812e62e2fa16637672c8.tar.gz
Add time.h where Linux demands it.
Diffstat (limited to 'emulators/x48/patches')
-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"