summaryrefslogtreecommitdiff
path: root/Objective-C/objc-runtime-apple.h
diff options
context:
space:
mode:
Diffstat (limited to 'Objective-C/objc-runtime-apple.h')
-rw-r--r--Objective-C/objc-runtime-apple.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Objective-C/objc-runtime-apple.h b/Objective-C/objc-runtime-apple.h
index fb15b27..8d050a1 100644
--- a/Objective-C/objc-runtime-apple.h
+++ b/Objective-C/objc-runtime-apple.h
@@ -24,6 +24,11 @@
#include <objc/objc-runtime.h>
#include <objc/Protocol.h>
+#include <string.h>
+#include <stdlib.h>
+#include <assert.h>
+#include <ctype.h>
+
static inline int
PyObjCRT_SameSEL(SEL a, SEL b)
{
@@ -70,8 +75,8 @@ PyObjCRT_ClassAddMethodList(Class cls, struct objc_method_list* lst)
}
-extern struct objc_method_list* PyObjCRT_AllocMethodList(Py_ssize_t);
-extern struct objc_protocol_list* PyObjCRT_AllocProtocolList(Py_ssize_t);
+extern struct objc_method_list* PyObjCRT_AllocMethodList(ssize_t);
+extern struct objc_protocol_list* PyObjCRT_AllocProtocolList(ssize_t);
typedef Method PyObjCRT_Method_t;
typedef Ivar PyObjCRT_Ivar_t;