summaryrefslogtreecommitdiff
path: root/libobjc/ivars.c
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-18 02:11:33 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-18 02:11:33 +0000
commit07ee25f6d2982042a94634260157fc07c6fb0603 (patch)
tree57821e4e443b4eaecc9afef718a65395130a251e /libobjc/ivars.c
parent52f48b0346ca8ac005e854c0f3129d66d72dfda7 (diff)
downloadgcc-07ee25f6d2982042a94634260157fc07c6fb0603.tar.gz
2010-11-18 Nicola Pero <nicola.pero@meta-innovation.com>
* ivars.c: Include stdlib.h. * protocols.c: Same change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166895 138bc75d-0d04-0410-961f-82ee72b054a4
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 8d5f4abdd39..69524bfd1dd 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)