[PATCH 4/8] Fixed time.h windows build error.

John Van Ostrand john at vanostrand.com
Sun Nov 2 18:52:30 PST 2014


---
 src/cochran_common_parser.c | 1 +
 src/cochran_emc_parser.c    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/cochran_common_parser.c b/src/cochran_common_parser.c
index 9cc4040..fefbc98 100644
--- a/src/cochran_common_parser.c
+++ b/src/cochran_common_parser.c
@@ -20,6 +20,7 @@
  */
 
 #include <stdlib.h>
+#include <time.h>
 
 #include <libdivecomputer/units.h>
 #include <libdivecomputer/cochran.h>
diff --git a/src/cochran_emc_parser.c b/src/cochran_emc_parser.c
index 5b1ce93..881f7c7 100644
--- a/src/cochran_emc_parser.c
+++ b/src/cochran_emc_parser.c
@@ -21,6 +21,7 @@
 
 #include <stdlib.h>
 #include <math.h>
+#include <time.h>
 
 #include <libdivecomputer/units.h>
 #include <libdivecomputer/cochran.h>
-- 
1.8.3.1



More information about the devel mailing list