about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/arpa/inet.h1
-rw-r--r--inet/netinet/ip.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h
index 561994372f..03021e614c 100644
--- a/inet/arpa/inet.h
+++ b/inet/arpa/inet.h
@@ -40,6 +40,7 @@
 
 #include <sys/cdefs.h>
 #include <sys/types.h>
+#include <netinet/in.h>		/* To define `struct in_addr'.  */
 
 __BEGIN_DECLS
 u_long		 inet_addr __P((const char *));
diff --git a/inet/netinet/ip.h b/inet/netinet/ip.h
index 6624ac458e..65338852ae 100644
--- a/inet/netinet/ip.h
+++ b/inet/netinet/ip.h
@@ -77,7 +77,8 @@ struct ip {
 #define	IPTOS_LOWDELAY		0x10
 #define	IPTOS_THROUGHPUT	0x08
 #define	IPTOS_RELIABILITY	0x04
-/*	IPTOS_LOWCOST		0x02 XXX */
+#define	IPTOS_LOWCOST		0x02
+#define	IPTOS_MINCOST		IPTOS_LOWCOST
 
 /*
  * Definitions for IP precedence (also in ip_tos) (hopefully unused)