From patchwork Mon Jul 13 14:10:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 235418 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2885074ilg; Mon, 13 Jul 2020 07:22:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5H6deegcdO+YVszAPPAnjoBH6+Gs1qi+9Pf3YwaYm4cMtTnAu6h4q6fQ2Rj1xRVbfjJ0d X-Received: by 2002:a25:c60c:: with SMTP id k12mr286986ybf.407.1594650146356; Mon, 13 Jul 2020 07:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594650146; cv=none; d=google.com; s=arc-20160816; b=uKNnLfL8iimDVIoXEWF8h2kPB7zTYFR/YJ0/9QMbgz6FaOQmIeUmFEGsGVN+MOQ0OL gBxvohJXi36guxoIku1Zzrs4UEop7JaxcuYS2vMsTtRKL0YL1J6OPUuHzhNcb6S+6/Xz 5iaRIOnIuJxOoKkte8TjsugAMZBYGGeg6xjAqjV0WlEUMy9PR4SxB4As5CQuhshjenrz OZNqk/5KSzBJkijkf7OZa9icoYr8KiP4zuwzUaUBO2+cX7we77Jhr73kOvgDNjug2ML5 Ed1YLMl2Qd7aofnRKq58dMDm350MK/q4VMYFpNt6YbJFG0c7deT7mhmq2x05TgletBLe 49NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=2mJpCpL7EiAJWz9OGCJeMqrPYbEJZKGb3cEkeqQTV+A=; b=nY7CYd/Sg5s27E1jFz1KxNUcR6hEKEEUlliYk1osXO22l0TYeYR2dhMkrI866E4PeT et62wow3M0IQyT/A4I8TsfLOpomOKCMlvllyF9tlGlES8+eE47FgBr5q6Y1k96eIyGf4 W2WMWXT+r1iggQDvtGptHOFOyfXxafmwiauxDkRO9Ss2N120g8E4bpvej217ygzAxBFl gExrJDQSN+eqqONSK6iQM3K5tqdHVQ38KfQu5b2IXt0jE6560mzgqCFf9k61dUTnkMJK IHT+IyNOvyo9/VayW6Qr8ZSp03+4KlO4PvjDkqUpYw2KZnNBU51Vw72LsdAee2OZVpQj b4LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kFLbk5F3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j2si14480479ybm.102.2020.07.13.07.22.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Jul 2020 07:22:26 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kFLbk5F3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juzLd-00083s-S0 for patch@linaro.org; Mon, 13 Jul 2020 10:22:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juzB0-0005T7-V7 for qemu-devel@nongnu.org; Mon, 13 Jul 2020 10:11:27 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:41490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juzAx-0006e2-Db for qemu-devel@nongnu.org; Mon, 13 Jul 2020 10:11:26 -0400 Received: by mail-wr1-x443.google.com with SMTP id z15so16714408wrl.8 for ; Mon, 13 Jul 2020 07:11:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=2mJpCpL7EiAJWz9OGCJeMqrPYbEJZKGb3cEkeqQTV+A=; b=kFLbk5F3qKSufwcfNsh6oW+aSyB8MWoREaYH0gkX/hDIf/l9iBA7F+jrGVjMgYqDJO DmtY4eycpXOeJAg0Gvy4iXZFjhoWzxl63DoS6ydA4DzDJ3wU2slVodRbvzztSj9i77aM TfHpNxeNTq7iIcKG7Ix5nIB2zVeQEB4ZY0Y+us5zqmJZmNjF4LIkclayRZg/2cDirrkH Gw3Ll7O3urwnVvUSxLHQFWeG3GGB0Obb5oF7RaGF6yVf6Yi7uzPMU6Pz2tPw44rCHySx n3Bh5ALvrqh5T5fdfBggnvWW4ocfPLtu9aymPNSh7QO9dTALd9G9P6ouSnq/mhCfB8mP mF4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2mJpCpL7EiAJWz9OGCJeMqrPYbEJZKGb3cEkeqQTV+A=; b=oARn/1hQpBl2TY3QPo2rYcVlt08l0/rUI4wK14H3LjxGXveSSNXxuJ7PGeWKuo/Njt Y+8flOsD9nO3uvJ10gW5nrwpZgSDxJXnjNig2gq/yEV6g3kUfCgwIVqgqxQA6ChXZ7h8 IVH7BKLP8QlREMjsD2+P6oU8/km0o7B3KaFkhpPsmxnTcCV2Hp4mnMI2zfutloBfck/g tw3ovvK5UEnPI4L/OxTCDJuwm2IvMKVB2IonR30vO8lmYiWcusocsqQilEXgUFY0PGKE Zi7g3PyBoLvQB/kLdSC/om1/rAVofr/kxvJXZg4rg5oHXpi8UP9vzVK3N8MIQDRwdYKx RFdA== X-Gm-Message-State: AOAM531XY9VcFziqgRIVZw2g4knXNCBsltbQfXeBVh+7ESqYbRCSAaEC /TUjvkNTu6sfkeXzfP2g5AZCEUsshWMClg== X-Received: by 2002:adf:f14c:: with SMTP id y12mr78535882wro.30.1594649481724; Mon, 13 Jul 2020 07:11:21 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id c136sm24031297wmd.10.2020.07.13.07.11.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 07:11:20 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 13/25] bswap.h: Include on Haiku for bswap operations Date: Mon, 13 Jul 2020 15:10:52 +0100 Message-Id: <20200713141104.5139-14-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200713141104.5139-1-peter.maydell@linaro.org> References: <20200713141104.5139-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: David CARLIER Haiku puts the bswap* functions in ; pull in that include file on that platform. Signed-off-by: David Carlier Reviewed-by: Peter Maydell Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Peter Maydell Message-id: 20200703145614.16684-7-peter.maydell@linaro.org [PMM: Expanded commit message] Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- include/qemu/bswap.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h index 2a9f3fe783e..1d3e4c24e41 100644 --- a/include/qemu/bswap.h +++ b/include/qemu/bswap.h @@ -8,6 +8,8 @@ # include #elif defined(__FreeBSD__) # include +#elif defined(__HAIKU__) +# include #elif defined(CONFIG_BYTESWAP_H) # include