stdint.h now provides uintmax_t

This commit is contained in:
naddy 2006-01-12 21:30:17 +00:00
parent 3771a997c0
commit b579b0f798

View File

@ -1,14 +0,0 @@
$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;