# HG changeset patch # User Daniele Nicolodi # Date 1396278218 -7200 # Node ID b955e35c07ae0e9b6c933553ac213dea7abeae15 # Parent 9e0c3541104bd3ed0113863a609182973ae2fcc9 Fix includes diff -r 9e0c3541104b -r b955e35c07ae future.c --- 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 - /* time functions */ #include +#include #include "future.h" - /* an implementation of the C99 `round` function based on `floor` and `ceil` */ double round(double x) { diff -r 9e0c3541104b -r b955e35c07ae future.h --- 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 - double round(double x); +typedef unsigned int time_t; typedef long int suseconds_t; struct timeval {