diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-11-18 02:11:33 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-11-18 02:11:33 +0000 |
commit | 49a35931ee5a81997c3e7e39ffa4ef009a3bf8e1 (patch) | |
tree | 57821e4e443b4eaecc9afef718a65395130a251e /libobjc/protocols.c | |
parent | af9fe0ec84160513917d2c114703d293bd6c4880 (diff) | |
download | gcc-49a35931ee5a81997c3e7e39ffa4ef009a3bf8e1.tar.gz |
ivars.c: Include stdlib.h.
2010-11-18 Nicola Pero <nicola.pero@meta-innovation.com>
* ivars.c: Include stdlib.h.
* protocols.c: Same change.
From-SVN: r166895
Diffstat (limited to 'libobjc/protocols.c')
-rw-r--r-- | libobjc/protocols.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libobjc/protocols.c b/libobjc/protocols.c index 421e566e912..05a750758c7 100644 --- a/libobjc/protocols.c +++ b/libobjc/protocols.c @@ -28,7 +28,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "objc/thr.h" #include "objc-private/runtime.h" /* the kitchen sink */ #include "objc-private/hash.h" /* For the hash table of protocols. */ -#include "objc-private/protocols.h" /* For __objc_protocols_init() and __objc_protocols_add_protocol() */ +#include "objc-private/protocols.h" /* For __objc_protocols_init() and + __objc_protocols_add_protocol(). */ +#include <stdlib.h> /* For malloc. */ /* This is a table that maps a name to a Protocol instance with that name. Because there may be multiple Protocol instances with the |