openexr: make architecture independent
[oi-userland.git] / components / library / libnet / patches / libnet-structures.h.patch
blob0bf9e5131e778481cd5530ab3f6268237a190387
1 --- libnet-1.2/include/libnet/libnet-structures.h 2019-10-08 20:58:28.000000000 +0200
2 +++ libnet-1.2/include/libnet/libnet-structures.h.new 2023-02-26 17:28:20.539832478 +0100
3 @@ -49,9 +49,15 @@
4 /* libnet statistics structure */
5 struct libnet_stats
7 +#if (!defined(__WIN32__) || (__CYGWIN__))
8 + uint64_t packets_sent; /* packets sent */
9 + uint64_t packet_errors; /* packets errors */
10 + uint64_t bytes_written; /* bytes written */
11 +#else
12 __int64_t packets_sent; /* packets sent */
13 __int64_t packet_errors; /* packets errors */
14 __int64_t bytes_written; /* bytes written */
15 +#endif