From patchwork Tue May 27 07:44:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 352733 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9EAF91400A3 for ; Tue, 27 May 2014 17:44:33 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; q=dns; s=default; b=ZeDu3Y13FVj9zXgk KogKqCtFb+gwFX7cOpuMjrbMwgaUdZSZt0ms+W2n9iIbc97B6GgbeHALcruezsoQ uIFi7zJtXucqL/AJOQmAyOYI2xdX9Drja1Ddc214cBnKdLhmo7mGMb9tjxn93Uhb 9qjBgK/P9IQJihkqLGb/34xuUIk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; s=default; bh=yh7Vo5GbNbPmCXxCBnG7/3 KkLEE=; b=AW4DkZnD1O1fpk/koeYfcYp08iqffQmCmbGkxNC7vz8ybsRKJjuLlE dDV9JlojzkpDdq2WoShoLsf24NCqxjxG4p/0FGaJgUqhv8OKBnzEWhx4WRQaE5Z/ d+vl7Jzk5tUxSj06EuO9QhFqgQDUprKkm2M1V9T2kqoY1Q/xbXT3o= Received: (qmail 28746 invoked by alias); 27 May 2014 07:44:26 -0000 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 Received: (qmail 28698 invoked by uid 89); 27 May 2014 07:44:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-oa0-f44.google.com Received: from mail-oa0-f44.google.com (HELO mail-oa0-f44.google.com) (209.85.219.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 27 May 2014 07:44:24 +0000 Received: by mail-oa0-f44.google.com with SMTP id o6so9168918oag.3 for ; Tue, 27 May 2014 00:44:22 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.62.138 with SMTP id y10mr30320254oer.45.1401176662540; Tue, 27 May 2014 00:44:22 -0700 (PDT) Received: by 10.182.236.105 with HTTP; Tue, 27 May 2014 00:44:22 -0700 (PDT) Date: Tue, 27 May 2014 09:44:22 +0200 Message-ID: Subject: [PATCH, fortran]: Include stdlib.h in intrinsics/getcwd.c From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Cc: Fortran List ... to avoid "implicit declaration of function ‘free’" warning. 2014-05-27 Uros Bizjak * intrinsics/getcwd.c: Include stdlib.h. Tested on x86_64-pc-linux-gnu. OK for mainline? Uros. Index: intrinsics/getcwd.c =================================================================== --- intrinsics/getcwd.c (revision 210956) +++ intrinsics/getcwd.c (working copy) @@ -25,6 +25,7 @@ #include "libgfortran.h" +#include #include #include