$NetBSD: patch-ad,v 1.1 2004/07/21 21:49:02 scw Exp $ --- dissipate2/udpmessagesocket.cpp.orig 2004-03-04 11:22:57.000000000 +0000 +++ dissipate2/udpmessagesocket.cpp 2004-07-21 12:34:43.000000000 +0100 @@ -1,5 +1,7 @@ #include #include +#include +#include #include #include #include @@ -52,7 +54,7 @@ socklen_t optlen; tos=IPTOS_PREC_CRITIC_ECP; optlen=1; - if(setsockopt(socketfd,SOL_IP,IP_TOS,&tos,optlen) != 0){ + if(setsockopt(socketfd,IPPROTO_IP,IP_TOS,&tos,optlen) != 0){ perror("UDPMessageSocket::SetTOS"); } return 0;