https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=210eca1b31090d4c93c22a3152f1faa795dfd775

commit 210eca1b31090d4c93c22a3152f1faa795dfd775
Author:     Corinna Vinschen <[email protected]>
AuthorDate: Sun Feb 12 21:42:26 2023 +0100
Commit:     Corinna Vinschen <[email protected]>
CommitDate: Sun Feb 12 21:42:26 2023 +0100

    Cygwin: socket.h: define missing IPTOS_LOWCOST/IPTOS_MINCOST
    
    Signed-off-by: Corinna Vinschen <[email protected]>

Diff:
---
 winsup/cygwin/include/cygwin/socket.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/winsup/cygwin/include/cygwin/socket.h 
b/winsup/cygwin/include/cygwin/socket.h
index 33f18091c650..dc56cb0f57b9 100644
--- a/winsup/cygwin/include/cygwin/socket.h
+++ b/winsup/cygwin/include/cygwin/socket.h
@@ -225,6 +225,8 @@ struct OLD_msghdr
 #define        IPTOS_LOWDELAY          0x10
 #define        IPTOS_THROUGHPUT        0x08
 #define        IPTOS_RELIABILITY       0x04
+#define        IPTOS_LOWCOST           0x02
+#define        IPTOS_MINCOST           IPTOS_LOWCOST
 #endif
 
 /* These need to appear somewhere around here */

Reply via email to