diff --git a/Source/GSFFCallInvocation.m b/Source/GSFFCallInvocation.m
index f2cd05c3a..21c060554 100644
--- a/Source/GSFFCallInvocation.m
+++ b/Source/GSFFCallInvocation.m
@@ -113,7 +113,7 @@ ReturnTypeEqualsReturnType (vacallReturnTypeInfo *a, vacallReturnTypeInfo *b)
#define GSI_MAP_RELEASE_KEY(X) ;
#define GSI_MAP_RELEASE_VAL(X) ;
-#import
+#include
/* This determines the number of precomputed
callback data entries. The list is indexed
diff --git a/Source/NSProtocolChecker.m b/Source/NSProtocolChecker.m
index 1a95890a4..4c556e7af 100644
--- a/Source/NSProtocolChecker.m
+++ b/Source/NSProtocolChecker.m
@@ -22,11 +22,11 @@
*/
#include "config.h"
-#import
-#import
-#import
-#import
-#import
+#include
+#include
+#include
+#include
+#include
@implementation NSProtocolChecker
diff --git a/Testing/containers.m b/Testing/containers.m
index 722d67f15..5013e4e53 100644
--- a/Testing/containers.m
+++ b/Testing/containers.m
@@ -1,5 +1,5 @@
-#import
-#import
+#include
+#include
@interface Foo: NSObject
{
diff --git a/Tools/AGSOutput.h b/Tools/AGSOutput.h
index 68e265dfe..9ae40e17d 100644
--- a/Tools/AGSOutput.h
+++ b/Tools/AGSOutput.h
@@ -12,7 +12,6 @@
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
-
You should have received a copy of the GNU General Public
License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
@@ -31,6 +30,7 @@
NSCharacterSet *spacenl; // Blanks excluding newline
}
+- (NSString*) output: (NSDictionary*)d;
- (BOOL) output: (NSDictionary*)d file: (NSString*)name;
- (void) outputMethod: (NSDictionary*)d to: (NSMutableString*)str;
- (void) outputUnit: (NSDictionary*)d to: (NSMutableString*)str;
diff --git a/Tools/AGSOutput.m b/Tools/AGSOutput.m
index 430988e29..d40e20ffa 100644
--- a/Tools/AGSOutput.m
+++ b/Tools/AGSOutput.m
@@ -51,7 +51,7 @@
return self;
}
-- (BOOL) output: (NSDictionary*)d file: (NSString*)name
+- (NSString*) output: (NSDictionary*)d
{
NSMutableString *str = [NSMutableString stringWithCapacity: 10240];
NSDictionary *classes;
@@ -260,6 +260,12 @@
[str appendString: @"