From patchwork Thu Apr 19 13:58:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 133825 Delivered-To: patch@linaro.org Received: by 10.80.173.174 with SMTP id a43csp884390edd; Thu, 19 Apr 2018 07:42:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrlkUNv+In8yLxfv1WhUvRa81fJr7sYE/f8lQBIT/s0pwiim/WXs1nYOxpsQoBUepGmorEl X-Received: by 2002:aed:30c1:: with SMTP id 59-v6mr6107062qtf.237.1524148974180; Thu, 19 Apr 2018 07:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524148974; cv=none; d=google.com; s=arc-20160816; b=ssQMwpO/vG68034XGxZqNPEYaDx6jcx3M5R+1OTy81cpjo2wv0LYhwC3VFACdZvGwy QgebcJXVywVsx9D59cacjLAWwdDHv6tDok4JguvgQxVZQWxJMu06JVIbUUb30R+3N8an Zrw+kWb+pHqLomN/LPJYu4gTFAKdiY4xawedfHqiZw5d/1yHTUGdwVaCn9iSxRkOU1j3 yXBDxInne0yzATWm20Wh2lpSG2fY4pJBWolCjrHnEY9MuUS0UwzHz3hUh9tgP/w23a6r vPTV0RUNt8B4jZ962Ja5D16Q6+eyFRTHM218A1v7+JSbV9+BjRD+gOKPDlgmv6kMtyR4 f8IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=o6jq0Btnf1Qru0BA/cZYrVWAKz/yNfKu2mK1C9T9KD8=; b=aSj85zW46uHgMwo+2oByi2W7ZnSJAOnD2qssEQGe043pSTfZEd2zHW9f5OQyEwwLVZ tJsC3WuI/G9yfCHtstwmb8b2E87O5pSvkK9ekyaRWxuzIYzDFF8lk1rTLoySxnc3nVWX hZgOaHRMGc8w1S3M0SXtUSSgaxXLtGb1fcIO+Tjd+2uUksezZW3AODMzSiP1q3WNB188 Aur1eKnL4eUfj0HZLgsM33gdm8mj1s/PZctVMrzYayJfGuvt5cmieMF0TalSpWpmC39g S9YXyMp7SViC+5mf8cO0c72HMwXKs522uZ/y66WugFNK3vFXhlCR2EVqzwOSJ5pk+mpv h2sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=USMrE6Gb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id y4si485987qve.161.2018.04.19.07.42.54 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 19 Apr 2018 07:42:54 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=USMrE6Gb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:52040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9Alx-0003XQ-MN for patch@linaro.org; Thu, 19 Apr 2018 10:42:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9ANO-0004ex-O1 for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9ANN-00064r-Tt for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:30 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:44257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f9ANN-00064P-M5 for qemu-devel@nongnu.org; Thu, 19 Apr 2018 10:17:29 -0400 Received: by mail-wr0-x241.google.com with SMTP id o15-v6so14509463wro.11 for ; Thu, 19 Apr 2018 07:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o6jq0Btnf1Qru0BA/cZYrVWAKz/yNfKu2mK1C9T9KD8=; b=USMrE6GbmcgQxNIhCsWTKWOq4nzFMbxyHBra900Q41fQhQLDKCKYcQgaUbQM1burWZ tslGZFddAXTjC3vckYbRvaIkUU8MXh1eB7GZFtVTWpCJ2vi9zMjSjh6iU/54RqYKcsNp WfIIlYeTYTYpScU7RWDbXqxL0fsAvSJ80QtTc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=o6jq0Btnf1Qru0BA/cZYrVWAKz/yNfKu2mK1C9T9KD8=; b=Xbjqz0xueUYTFXzpFLe8RWusGqMOS5aa8F7TD16imo/3nPNFGmDXOvxuYyP6MmCxn5 Riq1skkZ+cjEXx+Ap3Dxprm6iY/yjk4/A4gHxDtg6TWTj4h2OdGwirNBFc6FMQmqKaIT pb4Hy/QHNjHwRGlLZ1pWD8i8J4SAMtmJmD5ij54tm4bw9LaFQPAbcR1hXJQEeGqYo59B wV4Yv/gxhXgpaoh3J3eXugOp6T2BtRo0PWy/R1s4kofo6e1b1sbL1qwmi/er5LGDT+r2 pJXAw8HVNW5IqgNndi52dydrCrelEQtVuL7jup2PJyl6oMoy+yb8sACdfclRxEBr3EEh ghgQ== X-Gm-Message-State: ALQs6tBSJO+kN78VJf7cr3he7J3I37ApFIl8O7M7CkWrVJiTcoT+d7lW YmrGjn/ho9Vngzshas9xeUBNTA== X-Received: by 10.28.234.206 with SMTP id g75mr4651308wmi.76.1524147448364; Thu, 19 Apr 2018 07:17:28 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id d8-v6sm3984294wrb.72.2018.04.19.07.17.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 07:17:25 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 643E33E0971; Thu, 19 Apr 2018 14:59:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Thu, 19 Apr 2018 14:58:56 +0100 Message-Id: <20180419135901.30035-39-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180419135901.30035-1-alex.bennee@linaro.org> References: <20180419135901.30035-1-alex.bennee@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::241 Subject: [Qemu-devel] [PATCH v2 38/43] osdep: disable glib-compat.h include with QEMU_NO_GLIB X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" To ease the cross-compilation of tests that do not use glib. Signed-off-by: Emilio G. Cota --- include/qemu/osdep.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.0 Reviewed-by: Richard Henderson diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 41658060a7..fabaf73007 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -104,7 +104,9 @@ extern int daemon(int, int); #include "sysemu/os-posix.h" #endif +#ifndef QEMU_NO_GLIB #include "glib-compat.h" +#endif #include "qemu/typedefs.h" /*