From d492d8e5d8faae0ab07d9a015fcea801425449a6 Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 6 Apr 2006 23:59:51 +0000 Subject: [PATCH] Changes to make build on non-Windows --- motorApp/NewportSrc/Socket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/motorApp/NewportSrc/Socket.h b/motorApp/NewportSrc/Socket.h index 2e39b0cf..c83d500f 100755 --- a/motorApp/NewportSrc/Socket.h +++ b/motorApp/NewportSrc/Socket.h @@ -1,7 +1,9 @@ /////////////////////////////////////////////////////////////////////////////// // Socket.h +#ifdef _WIN #include // MFC socket extensions +#endif int ConnectToServer (char *Ip_Address, int Ip_Port, double TimeOut); void SetTCPTimeout (int SocketID, double Timeout);