summaryrefslogtreecommitdiff
path: root/math/lp_solve/patches/patch-lp__utils.c
blob: abbf14ee9c96e26d60b93629f142a265e93b1da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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