X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fsdk%2Fcpp%2Fsf%2Fsfcontrol.cpp;h=8489d0b2d5f743052280a0dede6bdd9e446e9aff;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=c4758a25c1a315cfd5bebedcd16bfca589313fab;hpb=f2aa9fb41a3e147a3715c028eb091806083de5ac;p=tinyos-2.x.git diff --git a/support/sdk/cpp/sf/sfcontrol.cpp b/support/sdk/cpp/sf/sfcontrol.cpp index c4758a25..8489d0b2 100644 --- a/support/sdk/cpp/sf/sfcontrol.cpp +++ b/support/sdk/cpp/sf/sfcontrol.cpp @@ -42,6 +42,8 @@ #include #include +#include +#include #include #include #include @@ -495,7 +497,7 @@ void SFControl::waitOnInput() bool clientConnected = false; struct sockaddr_in client; - unsigned int clientAddrLen = sizeof(client); + socklen_t clientAddrLen = sizeof(client); FD_ZERO(&rfds); while (true)