From 739cc65b7b6f692715b476a2377d09fcb97f182b Mon Sep 17 00:00:00 2001
From: Pierrick Koch <pierrick.koch@gmail.com>
Date: Thu, 27 Mar 2014 16:45:09 +0100
Subject: [PATCH] [wip/libnabo] add patch for bsd, inc time.h

---
 libnabo/distinfo         |  1 +
 libnabo/patches/patch-ab | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 libnabo/patches/patch-ab

diff --git a/libnabo/distinfo b/libnabo/distinfo
index dce27783..a733546a 100644
--- a/libnabo/distinfo
+++ b/libnabo/distinfo
@@ -2,3 +2,4 @@ SHA1 (libnabo-1.0.4.tar.gz) = 1f71f0f6caf50996e3e61b87b2ac2c05c834518e
 RMD160 (libnabo-1.0.4.tar.gz) = 5e025ce60f8c773178ce8c1ef7328608a16b63ca
 Size (libnabo-1.0.4.tar.gz) = 963380 bytes
 SHA1 (patch-aa) = fe3c4640351d88000aa694055468612a7c25ce43
+SHA1 (patch-ab) = 1c3719d4fc4df6ad80cf7c76df354297574bf882
diff --git a/libnabo/patches/patch-ab b/libnabo/patches/patch-ab
new file mode 100644
index 00000000..d05d78c6
--- /dev/null
+++ b/libnabo/patches/patch-ab
@@ -0,0 +1,13 @@
+diff --git tests/helpers.h tests/helpers.h
+index 9f0a2f6..1f65fa2 100644
+--- tests/helpers.h
++++ tests/helpers.h
+@@ -125,6 +125,8 @@ typename NearestNeighbourSearch<T>::Matrix createQuery(const typename NearestNei
+ #ifdef __MACH__
+ #include <mach/clock.h>
+ #include <mach/mach.h>
++#else
++#include <time.h>
+ #endif
+ 
+ #ifdef _POSIX_TIMERS 
-- 
GitLab