iscsi-perf: use uint64_t instead of u_int64_t

because portability

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2015-05-10 10:52:32 -07:00
parent 45f667739c
commit 1c9792941f
+2 -2
View File
@@ -71,9 +71,9 @@ struct client {
int retry_cnt; int retry_cnt;
}; };
u_int64_t get_clock_ns(void) { uint64_t get_clock_ns(void) {
int res; int res;
u_int64_t ns; uint64_t ns;
#ifdef HAVE_CLOCK_GETTIME #ifdef HAVE_CLOCK_GETTIME
struct timespec ts; struct timespec ts;