summaryrefslogtreecommitdiffstats
path: root/portbunny/timespec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'portbunny/timespec.patch')
-rw-r--r--portbunny/timespec.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/portbunny/timespec.patch b/portbunny/timespec.patch
new file mode 100644
index 0000000..6ac01ae
--- /dev/null
+++ b/portbunny/timespec.patch
@@ -0,0 +1,20 @@
+--- PortBunny050109-dev/timespec_utils.c 2008-10-26 08:41:32.000000000 +0100
++++ PortBunny050109-dev/timespec_utils.c.new 2010-01-08 13:08:48.000000000 +0100
+@@ -53,7 +53,7 @@
+
+
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
+-
++#if false
+ void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec)
+ {
+ while (nsec >= NSEC_PER_SEC) {
+@@ -67,7 +67,7 @@
+ ts->tv_sec = sec;
+ ts->tv_nsec = nsec;
+ }
+-
++#endif
+ #endif
+
+