openbsd-ports/net/iperf/patches/patch-include_headers_h

15 lines
469 B
Plaintext

$OpenBSD: patch-include_headers_h,v 1.1 2005/05/08 21:16:15 jakob Exp $
--- include/headers.h.orig Thu May 5 11:19:01 2005
+++ include/headers.h Thu May 5 11:21:35 2005
@@ -179,6 +179,10 @@ typedef struct sockaddr_in iperf_sockadd
// Rationalize stdint definitions and sizeof, thanks to ac_create_stdint_h.m4
// from the gnu archive
+#if defined( __OpenBSD__ )
+typedef unsigned long uintmax_t;
+#endif
+
#include <iperf-int.h>
typedef uintmax_t max_size_t;