Obsolete OpenJDK 18
[oi-userland.git] / components / library / libnet / patches / libnet-structures.h.patch
blobc2c78ea778ef844375e68be96306700f5ffac9ad
1 --- libnet-1.3/include/libnet/libnet-structures.h.orig 2023-10-02 18:48:48.000000000 +0200
2 +++ libnet-1.3/include/libnet/libnet-structures.h 2023-12-31 15:56:46.567687377 +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