gnucash maint: Fix travis failure try 2.
John Ralls
jralls at code.gnucash.org
Sun Nov 11 03:43:31 EST 2018
Updated via https://github.com/Gnucash/gnucash/commit/284d6c14 (commit)
from https://github.com/Gnucash/gnucash/commit/73d19360 (commit)
commit 284d6c14565784bd14029d6dc98cbda20fa916db
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Nov 11 17:43:24 2018 +0900
Fix travis failure try 2.
stdint.h for Transaction.c too.
Also get rid of unused timeval decl.
diff --git a/libgnucash/engine/Transaction.c b/libgnucash/engine/Transaction.c
index b33e90f..22d96db 100644
--- a/libgnucash/engine/Transaction.c
+++ b/libgnucash/engine/Transaction.c
@@ -35,17 +35,7 @@
#include <glib/gi18n.h>
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_SYS_TIME_H
-# include <sys/time.h>
-#else
-/* We simply define the struct timeval on our own here. */
-struct timeval
-{
- long tv_sec; /* seconds */
- long tv_usec; /* and microseconds */
-};
-/* include <Winsock2.h> */
-#endif
+#include <stdint.h>
#include <time.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
Summary of changes:
libgnucash/engine/Transaction.c | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
More information about the gnucash-changes
mailing list