Fix travis failure try 2.

stdint.h for Transaction.c too.

Also get rid of unused timeval decl.
This commit is contained in:
John Ralls 2018-11-11 17:43:24 +09:00
parent 73d193606e
commit 284d6c1456

View File

@ -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>