summaryrefslogtreecommitdiffstats
path: root/src/iperf_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iperf_udp.c')
-rw-r--r--src/iperf_udp.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/iperf_udp.c b/src/iperf_udp.c
index b7aa1eb..a603236 100644
--- a/src/iperf_udp.c
+++ b/src/iperf_udp.c
@@ -34,9 +34,8 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
-#ifdef HAVE_STDINT_H
#include <stdint.h>
-#endif
+#include <inttypes.h>
#include <sys/time.h>
#include <sys/select.h>
@@ -47,19 +46,6 @@
#include "timer.h"
#include "net.h"
#include "cjson.h"
-#include "portable_endian.h"
-
-#if defined(HAVE_INTTYPES_H)
-# include <inttypes.h>
-#else
-# ifndef PRIu64
-# if sizeof(long) == 8
-# define PRIu64 "lu"
-# else
-# define PRIu64 "llu"
-# endif
-# endif
-#endif
/* iperf_udp_recv
*