summaryrefslogtreecommitdiffstats
path: root/contrib/libobjc/objc/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libobjc/objc/Object.h')
-rw-r--r--contrib/libobjc/objc/Object.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/contrib/libobjc/objc/Object.h b/contrib/libobjc/objc/Object.h
index ea3e7d7..7b67f46 100644
--- a/contrib/libobjc/objc/Object.h
+++ b/contrib/libobjc/objc/Object.h
@@ -15,8 +15,8 @@ License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
/* As a special exception, if you link this library with files compiled
with GCC to produce an executable, this does not cause the resulting
@@ -27,8 +27,12 @@ Boston, MA 02111-1307, USA. */
#ifndef __object_INCLUDE_GNU
#define __object_INCLUDE_GNU
-#include <objc/objc.h>
-#include <objc/typedstream.h>
+#include "objc.h"
+#include "typedstream.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
* All classes are derived from Object. As such,
@@ -121,4 +125,8 @@ Boston, MA 02111-1307, USA. */
@end
+#ifdef __cplusplus
+}
+#endif
+
#endif
OpenPOWER on IntegriCloud