changeset 208:b955e35c07ae

Fix includes
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 31 Mar 2014 17:03:38 +0200
parents 9e0c3541104b
children 11a88d389705
files future.c future.h
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/future.c	Mon Mar 31 17:03:38 2014 +0200
+++ b/future.c	Mon Mar 31 17:03:38 2014 +0200
@@ -1,14 +1,11 @@
 /* welcome in the 2012 */
 
-/* required by CVI */
-#include <ansi_c.h>
-
 /* time functions */
 #include <windows.h>
+#include <ansi_c.h>
 
 #include "future.h"
 
-
 /* an implementation of the C99 `round` function based on `floor` and `ceil` */
 double round(double x)
 {
--- a/future.h	Mon Mar 31 17:03:38 2014 +0200
+++ b/future.h	Mon Mar 31 17:03:38 2014 +0200
@@ -1,10 +1,9 @@
 #ifndef __FUTURE_H__
 #define __FUTURE_H__
 
-#include <ansi_c.h>
-
 double round(double x);
 
+typedef unsigned int time_t;
 typedef long int suseconds_t;
 
 struct timeval {