summaryrefslogtreecommitdiff
path: root/math/lp_solve/patches/patch-lp__utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/lp_solve/patches/patch-lp__utils.c')
-rw-r--r--math/lp_solve/patches/patch-lp__utils.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/lp_solve/patches/patch-lp__utils.c b/math/lp_solve/patches/patch-lp__utils.c
new file mode 100644
index 00000000000..abbf14ee9c9
--- /dev/null
+++ b/math/lp_solve/patches/patch-lp__utils.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-lp__utils.c,v 1.1 2014/05/12 11:41:46 ryoon Exp $
+
+OpenBSD 5.5 has no sys/timeb.h.
+
+--- lp_utils.c.orig 2009-08-27 19:52:00.000000000 +0000
++++ lp_utils.c
+@@ -5,7 +5,9 @@
+ #include "lp_lib.h"
+ #include "lp_utils.h"
+ #include <time.h>
++#if !defined(__OpenBSD__)
+ #include <sys/timeb.h>
++#endif
+ #include "lp_bit.h"
+
+ #ifdef FORTIFY