From: Stefan Csomor <csomor@advancedconcepts.ch>
Date: Sat, 24 Aug 2002 14:41:56 +0000 (+0000)
Subject: getting rid of warnings
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8a1e6413fe30df36ab9d458fd70d5634bc7f8457

getting rid of warnings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/mac/morefile/MoreFilesExtras.c b/src/mac/morefile/MoreFilesExtras.c
index 7a5a083524..ee93919b96 100644
--- a/src/mac/morefile/MoreFilesExtras.c
+++ b/src/mac/morefile/MoreFilesExtras.c
@@ -41,7 +41,11 @@
 */
 
 #include <MacTypes.h>
+#if !TARGET_CARBON
 #include <Traps.h>
+#include <FSM.h>
+#include <Disks.h>
+#endif
 #include <OSUtils.h>
 #include <MacErrors.h>
 #include <MacMemory.h>
@@ -49,8 +53,6 @@
 #include <Devices.h>
 #include <Finder.h>
 #include <Folders.h>
-#include <FSM.h>
-#include <Disks.h>
 #include <Gestalt.h>
 #include <TextUtils.h>
 #include <Script.h>