From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 5E5203858C53 for ; Wed, 4 May 2022 16:31:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5E5203858C53 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinux.eu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DofVTWztqoOzFpPhcD8GSTQtb0x6gKnKqLU+urUQYh0=; b=fBpPBHAYEbY2DYnXgsAbRgLu+a 4+ukCg2apb02c+NO3GVO2kXZND5fGxlmI8kUXXVlKZaGwd81MNQmWuOWtXtuzxIMo0dH9r659QFZk IWG++dse9NvUz9yVIZYJtzo3FR1BQt1PqQqjAdQpbLagAM1MKLk4NsmI8jJIBIeOJFkRV6XTnhSJ2 iUCDExOhkI/fpV7LJLQ+DRwC4XkjEZ48X1+e79dOgZJeV3o9RYppTNrLHAENnnR7LjxrtyhJUZ5cw MbzgbgdjBu9izlq99hZtIaoEZTRj+KFFmmrGNs6nLGvj8joYkgELWYLCLuBbwJ9PICWpDFItCypLS iBwi8IQQ==; Received: from [95.87.234.74] (port=46812 helo=kendros.lan) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nmHuo-0003Cg-13; Wed, 04 May 2022 19:31:52 +0300 From: Dimitar Dimitrov To: newlib@sourceware.org Subject: [PATCH] Fix nano-malloc build Date: Wed, 4 May 2022 19:31:43 +0300 Message-Id: <20220504163143.1500946-1-dimitar@dinux.eu> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, HAS_X_OUTGOING_SPAM_STAT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2022 16:31:57 -0000 The nano malloc build broke with: Commit 357d7fcc6 In provide only necessary types The above commit exposed a latent missing-header bug: newlib/libc/stdlib/nano-mallocr.c:220:33: error: ‘uintptr_t’ undeclared (first use in this function) Fix by including . Signed-off-by: Dimitar Dimitrov --- newlib/libc/stdlib/nano-mallocr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/stdlib/nano-mallocr.c b/newlib/libc/stdlib/nano-mallocr.c index 7ba1c0abc..99ad60dd0 100644 --- a/newlib/libc/stdlib/nano-mallocr.c +++ b/newlib/libc/stdlib/nano-mallocr.c @@ -36,6 +36,7 @@ #include #include #include +#include #if DEBUG #include -- 2.35.1