From 284d6c14565784bd14029d6dc98cbda20fa916db Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 11 Nov 2018 17:43:24 +0900 Subject: [PATCH] Fix travis failure try 2. stdint.h for Transaction.c too. Also get rid of unused timeval decl. --- libgnucash/engine/Transaction.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/libgnucash/engine/Transaction.c b/libgnucash/engine/Transaction.c index b33e90f4ab..22d96db5fc 100644 --- a/libgnucash/engine/Transaction.c +++ b/libgnucash/engine/Transaction.c @@ -35,17 +35,7 @@ #include #include #include -#ifdef HAVE_SYS_TIME_H -# include -#else -/* We simply define the struct timeval on our own here. */ -struct timeval -{ - long tv_sec; /* seconds */ - long tv_usec; /* and microseconds */ -}; -/* include */ -#endif +#include #include #ifdef HAVE_UNISTD_H # include