diff options
Diffstat (limited to 'include/Task.h')
-rw-r--r-- | include/Task.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Task.h b/include/Task.h index 675b2ed..f2d4b0b 100644 --- a/include/Task.h +++ b/include/Task.h @@ -3,6 +3,7 @@ #ifdef __cplusplus #include <unistd.h> +#include <sys/time.h> #include <vector.h> #include <Exceptions.h> #include <Handle.h> @@ -31,7 +32,7 @@ class Task : public Base { vector<Handle *> w4ha; vector<Task *> w4ta; vector<pid_t> w4pr; - vector<struct timeval> w4to; + vector<timeval> w4to; }; #else |