- Avoid some compiler warnings in fake-get*.c
 - Add IPTOS macros for systems which lack them
diff --git a/defines.h b/defines.h
index b22d703..f8a23b8 100644
--- a/defines.h
+++ b/defines.h
@@ -9,6 +9,8 @@
 
 #include <netinet/in.h> /* For IPv6 macros */
 
+#include <netinet/ip.h> /* For IPTOS macros */
+
 #ifdef HAVE_SYS_BITYPES_H
 # include <sys/bitypes.h> /* For u_intXX_t */
 #endif 
@@ -55,6 +57,14 @@
 # define SHUT_RDWR SHUT_RDWR
 #endif
 
+#ifndef IPTOS_LOWDELAY
+# define IPTOS_LOWDELAY          0x10
+# define IPTOS_THROUGHPUT        0x08
+# define IPTOS_RELIABILITY       0x04
+# define IPTOS_LOWCOST           0x02
+# define IPTOS_MINCOST           IPTOS_LOWCOST
+#endif /* IPTOS_LOWDELAY */
+
 /* Types */
 
 /* If sys/types.h does not supply intXX_t, supply them ourselves */