corrected includes when wxUSE_SOCKETS is not defined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-01-19 07:36:57 +00:00
parent 546b00063e
commit df06d1a4a1
2 changed files with 24 additions and 24 deletions

View File

@@ -13,6 +13,8 @@
#pragma implementation "app.h" #pragma implementation "app.h"
#endif #endif
#include "wx/defs.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/button.h" #include "wx/button.h"
@@ -35,7 +37,7 @@
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/menu.h" #include "wx/menu.h"
#if wxUSE_WX_RESOURCES #if wxUSE_WX_RESOURCES
#include "wx/resource.h" # include "wx/resource.h"
#endif #endif
#include <string.h> #include <string.h>
@@ -53,16 +55,14 @@
#include "wx/mac/uma.h" #include "wx/mac/uma.h"
#include "wx/mac/macnotfy.h" #include "wx/mac/macnotfy.h"
#if wxUSE_SOCKETS #ifdef __DARWIN__
#ifdef __DARWIN__ # include <CoreServices/CoreServices.h>
#include <CoreServices/CoreServices.h> #else
#else # include <Sound.h>
#include <Sound.h> # include <Threads.h>
#include <Threads.h> # include <ToolUtils.h>
#include <ToolUtils.h> # include <DiskInit.h>
#include <DiskInit.h> # include <Devices.h>
#include <Devices.h>
#endif
#endif #endif
extern char *wxBuffer; extern char *wxBuffer;

View File

@@ -13,6 +13,8 @@
#pragma implementation "app.h" #pragma implementation "app.h"
#endif #endif
#include "wx/defs.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/button.h" #include "wx/button.h"
@@ -35,7 +37,7 @@
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/menu.h" #include "wx/menu.h"
#if wxUSE_WX_RESOURCES #if wxUSE_WX_RESOURCES
#include "wx/resource.h" # include "wx/resource.h"
#endif #endif
#include <string.h> #include <string.h>
@@ -53,16 +55,14 @@
#include "wx/mac/uma.h" #include "wx/mac/uma.h"
#include "wx/mac/macnotfy.h" #include "wx/mac/macnotfy.h"
#if wxUSE_SOCKETS #ifdef __DARWIN__
#ifdef __DARWIN__ # include <CoreServices/CoreServices.h>
#include <CoreServices/CoreServices.h> #else
#else # include <Sound.h>
#include <Sound.h> # include <Threads.h>
#include <Threads.h> # include <ToolUtils.h>
#include <ToolUtils.h> # include <DiskInit.h>
#include <DiskInit.h> # include <Devices.h>
#include <Devices.h>
#endif
#endif #endif
extern char *wxBuffer; extern char *wxBuffer;