summaryrefslogtreecommitdiff
path: root/libobjc/exception.c
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-09-17 16:35:15 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-09-17 16:35:15 +0000
commit5be9cdc112d455a0799a2440b1a52e2b0d23da82 (patch)
tree7c97648ea44e24d40bac796f8c61ad41803b5b07 /libobjc/exception.c
parent0982fd6497be2ef3879b60443b657efad1966835 (diff)
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 From-SVN: r164373
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