aboutsummaryrefslogtreecommitdiff
path: root/libobjc/sendmsg.c
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-09-18 09:34:58 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-09-18 09:34:58 +0000
commit5d3b14bd9ac79db3f2b957752b41bd0641f49829 (patch)
tree91d9ff8ffcfeb22b2c75ae8a683cb8b8e0b961c1 /libobjc/sendmsg.c
parentfc99f7809e92e922356761380539cf4c388f48b8 (diff)
downloadgcc-5d3b14bd9ac79db3f2b957752b41bd0641f49829.zip
gcc-5d3b14bd9ac79db3f2b957752b41bd0641f49829.tar.gz
gcc-5d3b14bd9ac79db3f2b957752b41bd0641f49829.tar.bz2
In libobjc/:
* hash.c: Include objc-private/hash.h instead of objc/hash.h. * objc/sarray.h: Moved into objc/deprecated/sarray.h; objc/sarray.h replaced with a placeholder including the file from the deprecated/ directory. * objc-private/sarray.h: New file (private copy of sarray.h). * hash.c: Include <assert.h> instead of "assert.h" * sarray.c: Include <assert.h> instead of "assert.h". Include objc-private/sarray.h instead of objc/sarray.h. * selector.c: Include objc-private/sarray.h instead of objc/sarray.h. * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h instead of objc/sarray.h. * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h. From-SVN: r164389
Diffstat (limited to 'libobjc/sendmsg.c')
-rw-r--r--libobjc/sendmsg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c
index 15cdae6..5e466c6 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -37,9 +37,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "objc/objc-api.h"
#include "objc/thr.h"
#include "objc-private/runtime.h"
-#include "objc/sarray.h"
+#include "objc-private/sarray.h"
#include "objc/encoding.h"
#include "runtime-info.h"
+#include <assert.h> /* For assert */
#include <string.h> /* For strlen */
/* This is how we hack STRUCT_VALUE to be 1 or 0. */