summaryrefslogtreecommitdiffstats
path: root/src/iperf_udp.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:27:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:27:01 +0000
commit6f4c2968d9a035183d937cb055aec739c05280b1 (patch)
tree3e3270402258677b8ceb7f0db4c68e2123371d97 /src/iperf_udp.c
parentAdding upstream version 3.16. (diff)
downloadiperf3-upstream.tar.xz
iperf3-upstream.zip
Adding upstream version 3.17.1.upstream/3.17.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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
*