aboutsummaryrefslogtreecommitdiff
path: root/libobjc/ivars.c
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/ivars.c')
-rw-r--r--libobjc/ivars.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libobjc/ivars.c b/libobjc/ivars.c
index 8d5f4ab..69524bf 100644
--- a/libobjc/ivars.c
+++ b/libobjc/ivars.c
@@ -27,7 +27,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "objc-private/module-abi-8.h" /* For runtime structures */
#include "objc/thr.h"
#include "objc-private/runtime.h" /* the kitchen sink */
-#include <string.h> /* For strcmp */
+#include <string.h> /* For strcmp. */
+#include <stdlib.h> /* For malloc. */
struct objc_ivar *
class_getInstanceVariable (Class class_, const char *name)