summaryrefslogtreecommitdiff
path: root/libobjc/exception.c
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-17 16:35:15 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-17 16:35:15 +0000
commit1a46e3f104bdc3c8fb448e7ed91339918a7c1a20 (patch)
tree7c97648ea44e24d40bac796f8c61ad41803b5b07 /libobjc/exception.c
parent18a02cd3fae0cca4833d2be65b7098f68bb18427 (diff)
downloadgcc-1a46e3f104bdc3c8fb448e7ed91339918a7c1a20.tar.gz
In libobjc/:
* objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h replaced with a placeholder including the file from the deprecated/ directory. * objc/objc-api.h: Updated includes. * objc/typedstream.h: Updated includes. * objc-private/hash.h: New file (private copy of hash.h). * objc/objc-list.h: Moved into objc/deprecated/objc-list.h; objc/objc-list.h replaced with a placeholder including the file from the deprecated/ directory. * objc-private/objc-list.h: New file (private copy of objc-list.h). * init.c: Include objc-private/hash.h and objc-private/objc-list.h instead of objc/hash.h and objc/objc-list.h. * selector.c: Same change. * class.c: Added include <string.h>, which used to be implicitly included when hash.h was included. * exception.c: Same change. * objects.c: Same change. * sarray.c: Same change. * sendmsg.c: Same change. * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h. (OBJC_H): Removed hash.h and objc-list.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164373 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/exception.c')
-rw-r--r--libobjc/exception.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libobjc/exception.c b/libobjc/exception.c
index bb6a9194af1..0225d6789a4 100644
--- a/libobjc/exception.c
+++ b/libobjc/exception.c
@@ -29,6 +29,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "objc/objc-exception.h"
#include "unwind.h"
#include "unwind-pe.h"
+#include <string.h> /* For memcpy */
/* This hook allows libraries to sepecify special actions when an
exception is thrown without a handler in place. This is deprecated