From patchwork Mon Sep 30 05:58:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1169124 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46hWtW2n39z9sP7 for ; Mon, 30 Sep 2019 15:58:59 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TA9cK6W4"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 46hWtW1tD2zDqMn for ; Mon, 30 Sep 2019 15:58:59 +1000 (AEST) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::442; helo=mail-pf1-x442.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TA9cK6W4"; dkim-atps=neutral Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46hWtN75YCzDqMC for ; Mon, 30 Sep 2019 15:58:52 +1000 (AEST) Received: by mail-pf1-x442.google.com with SMTP id b128so4968893pfa.1 for ; Sun, 29 Sep 2019 22:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=KaCf3GbzUqOT3sHnMW/skS8fDebWtjcXAJmmUWPfFH4=; b=TA9cK6W45slEoGtWNL4ksyGJLX+v6jO19/2j1MQdPTDf+BeBPqfCrNtC0pw5usLA8Q vDThsHYQPeH/bL9M6q7AcfhlW4kZrQ24JSRp3FxKEOqwRdTFvkd74aULDqc8cbw6yPt0 Fh5z4kYO7S8UJF6ueLr9Q8tHKSQwiJ2R0HvjzfFOtmEJuAvqb5oFk3h9zySmSqcSUrNp 4Ne3t0bgSmJIfEFCQer9fEBhtsCld2xZHSOiB22Rl8NnocZIz1ANEne1coVCwo2G880r MCGpvT4JuN3Kl20Z5Vt8AsEKm2d7zwTvKvLNAUbKhrEaWnMxR+2Kcu6ij7pmySpEgC16 GcXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=KaCf3GbzUqOT3sHnMW/skS8fDebWtjcXAJmmUWPfFH4=; b=mfOQ7AyfJ6mZbEJUQs4YldFovN7OV0ksP/GwwLeZ2HklAMOzLbvdoczWuM5wA8ejRM rHPtkqj5QfRz47si9H5bO/GE7cqGfJojlqxciGoUh2Aq1qyOPDLKJ3fmZ7/u2B2IKHNJ 2vNqx+EA2X/+bCMW3yqIzfnfIVtZVlUYuCkdXzIw1ViiPwVBkh+WEUnYgLy8+vtv6MIB IW5Ma8UL/DAo5YhRWX2A/yaVe5iqwWfhtgoeIvZlpRIi6gpkJ2XeJ1jkrbmt4qjlRPES c1UxynWZkGP+eDn0hkExXKbAyIHvLVNcI12tMuD/NHQEX2gbFO96YuYfzee8487wusDC 688Q== X-Gm-Message-State: APjAAAVC9vSjYg6dcH72QcARqibelO4oJ7QP0DzfJdhjff26Az7VNk6h xBwlbKE5XTLgoSJ0HyutfpbuGuZNFGY= X-Google-Smtp-Source: APXvYqyA7cYJIVy7/IIXTJnEuFNJilUbPpoBT3skYjWci0ZmIb7+aK2iBzesNcRvN5ze6hsu0EWdLQ== X-Received: by 2002:a62:7c4d:: with SMTP id x74mr19357151pfc.95.1569823128432; Sun, 29 Sep 2019 22:58:48 -0700 (PDT) Received: from voyager.ibm.com ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id 127sm13750157pfw.6.2019.09.29.22.58.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Sep 2019 22:58:47 -0700 (PDT) From: Joel Stanley To: pdbg@lists.ozlabs.org Date: Mon, 30 Sep 2019 15:28:42 +0930 Message-Id: <20190930055842.21765-1-joel@jms.id.au> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Pdbg] [PATCH] sbefifo: Fix musl build X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Musl requires endian.h when using be32toh. Signed-off-by: Joel Stanley Reviewed-by: Amitay Isaacs --- libsbefifo/ffdc.c | 1 + libsbefifo/operation.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libsbefifo/ffdc.c b/libsbefifo/ffdc.c index f29afc1d0a0e..3b82e210b656 100644 --- a/libsbefifo/ffdc.c +++ b/libsbefifo/ffdc.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "sbefifo_private.h" diff --git a/libsbefifo/operation.c b/libsbefifo/operation.c index 43418a15904e..1ad577cf35e4 100644 --- a/libsbefifo/operation.c +++ b/libsbefifo/operation.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "sbefifo_private.h"