From: Paul Cornett Date: Mon, 28 Sep 2009 15:35:48 +0000 (+0000) Subject: build fix for wxUSE_SOCKETS==0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2ee7e3c302716a77bc745afcf12a6d508fa52f3f build fix for wxUSE_SOCKETS==0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/fdiounix.cpp b/src/unix/fdiounix.cpp index efe7b8d4a0..ff79848776 100644 --- a/src/unix/fdiounix.cpp +++ b/src/unix/fdiounix.cpp @@ -3,7 +3,7 @@ // Purpose: wxFDIOManager implementation for console Unix applications // Author: Vadim Zeitlin // Created: 2009-08-17 -// RCS-ID: $Id: wxhead.cpp,v 1.10 2009-06-29 10:23:04 zeitlin Exp $ +// RCS-ID: $Id$ // Copyright: (c) 2009 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -23,6 +23,8 @@ #pragma hdrstop #endif +#if wxUSE_SOCKETS + #include "wx/apptrait.h" #include "wx/log.h" #include "wx/private/fdiodispatcher.h" @@ -99,3 +101,4 @@ wxFDIOManager *wxAppTraits::GetFDIOManager() return &s_manager; } +#endif // wxUSE_SOCKETS