diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | defines.h | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20110505 | ||
2 | - (djm) [defines.h] Move up include of netinet/ip.h for IPTOS | ||
3 | definitions. From des AT des.no | ||
4 | |||
1 | 20110221 | 5 | 20110221 |
2 | - (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the | 6 | - (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the |
3 | Cygwin-specific service installer script ssh-host-config. The actual | 7 | Cygwin-specific service installer script ssh-host-config. The actual |
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.164 2011/01/17 10:15:31 dtucker Exp $ */ | 28 | /* $Id: defines.h,v 1.165 2011/05/05 01:19:15 djm Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -45,6 +45,8 @@ enum | |||
45 | /* | 45 | /* |
46 | * Definitions for IP type of service (ip_tos) | 46 | * Definitions for IP type of service (ip_tos) |
47 | */ | 47 | */ |
48 | #include <netinet/in_systm.h> | ||
49 | #include <netinet/ip.h> | ||
48 | #ifndef IPTOS_LOWDELAY | 50 | #ifndef IPTOS_LOWDELAY |
49 | # define IPTOS_LOWDELAY 0x10 | 51 | # define IPTOS_LOWDELAY 0x10 |
50 | # define IPTOS_THROUGHPUT 0x08 | 52 | # define IPTOS_THROUGHPUT 0x08 |
@@ -56,8 +58,6 @@ enum | |||
56 | /* | 58 | /* |
57 | * Definitions for DiffServ Codepoints as per RFC2474 | 59 | * Definitions for DiffServ Codepoints as per RFC2474 |
58 | */ | 60 | */ |
59 | #include <netinet/in_systm.h> | ||
60 | #include <netinet/ip.h> | ||
61 | #ifndef IPTOS_DSCP_AF11 | 61 | #ifndef IPTOS_DSCP_AF11 |
62 | # define IPTOS_DSCP_AF11 0x28 | 62 | # define IPTOS_DSCP_AF11 0x28 |
63 | # define IPTOS_DSCP_AF12 0x30 | 63 | # define IPTOS_DSCP_AF12 0x30 |