From patchwork Sat Oct 9 22:30:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Pero X-Patchwork-Id: 67334 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 63E14B70AE for ; Sun, 10 Oct 2010 09:30:42 +1100 (EST) Received: (qmail 24779 invoked by alias); 9 Oct 2010 22:30:39 -0000 Received: (qmail 24766 invoked by uid 22791); 9 Oct 2010 22:30:38 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL, BAYES_00, TW_BJ, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 09 Oct 2010 22:30:33 +0000 Received: from eggs.gnu.org ([140.186.70.92]:44102) by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1P4hvz-00081E-3X for gcc-patches@gnu.org; Sat, 09 Oct 2010 18:30:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4hvx-0002J8-SU for gcc-patches@gnu.org; Sat, 09 Oct 2010 18:30:30 -0400 Received: from smtp151.iad.emailsrvr.com ([207.97.245.151]:60127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4hvx-0002J1-PU for gcc-patches@gnu.org; Sat, 09 Oct 2010 18:30:29 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp45.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 2728090194 for ; Sat, 9 Oct 2010 18:30:29 -0400 (EDT) X-Orig-To: gcc-patches@gnu.org Received: from dynamic12.wm-web.iad.mlsrvr.com (dynamic12.wm-web.iad1a.rsapps.net [192.168.2.219]) by smtp45.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 16E8D90179 for ; Sat, 9 Oct 2010 18:30:29 -0400 (EDT) Received: from meta-innovation.com (localhost [127.0.0.1]) by dynamic12.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id 078152168082 for ; Sat, 9 Oct 2010 18:30:29 -0400 (EDT) Received: by www2.webmail.us (Authenticated sender: nicola.pero@meta-innovation.com, from: nicola.pero@meta-innovation.com) with HTTP; Sun, 10 Oct 2010 00:30:29 +0200 (CEST) Date: Sun, 10 Oct 2010 00:30:29 +0200 (CEST) Subject: libobjc - tiny header include fix From: "Nicola Pero" To: "gcc-patches@gnu.org" MIME-Version: 1.0 X-Type: plain Message-ID: <1286663429.02952236@192.168.2.227> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Fixed a missing header include (all libobjc/*.c libobjc/*.m files now are expected to include objc-private/common.h). Committed to trunk. Thanks Index: objc-sync.c =================================================================== --- objc-sync.c (revision 165239) +++ objc-sync.c (working copy) @@ -77,6 +77,7 @@ # define SYNC_CACHE_DISABLE #endif +#include "objc-private/common.h" #include "objc/objc-sync.h" /* For objc_sync_enter(), objc_sync_exit() */ #include "objc/objc-api.h" /* For objc_malloc() */ #include "objc/thr.h" /* For objc_mutex_loc() and similar */ Index: ChangeLog =================================================================== --- ChangeLog (revision 165241) +++ ChangeLog (working copy) @@ -1,5 +1,9 @@ 2010-10-10 Nicola Pero + * objc-sync.c: Include objc-private/common.h. + +2010-10-10 Nicola Pero + * objc-foreach.c: Include objc-private/common.h. * objc/deprecated/METHOD_NULL.h: New file. * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of