From patchwork Mon Jan 7 17:29:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 13895 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D78AA23DFE for ; Mon, 7 Jan 2013 17:30:00 +0000 (UTC) Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by fiordland.canonical.com (Postfix) with ESMTP id 7DB10A18A70 for ; Mon, 7 Jan 2013 17:30:00 +0000 (UTC) Received: by mail-vb0-f44.google.com with SMTP id fc26so20102728vbb.3 for ; Mon, 07 Jan 2013 09:30:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=n9TFVPL3T5omhVIJj+N9K7sUZfbyM/yrfwxO93eKgxo=; b=KZAvs5a/IZP3//mkdWrCk1hfGNDB+Ch4qnq+vT9hCWuM3M/56fjte3lkjaZesKcXUX pyqxZIFQxXJQdO9tqgl+1URsissD545PKEWztdbqyO0oeQmkKtQOoo8sGWmHYxKhrTxI OxLC1BS1SbPgk//6iDpWyhnAVVF6iSskzNQR8nuzc0q4b0CeDj/1jeCfT6zWRVuXctDs pi2UZHOzqrTrI/WWGjddR+1rqPmCplfESKC8gFIK2F/11zm5RceUfr83FRIy41JO2QZ9 C+Zj2xRYB7xH1eN6UgbAq+3+DtzNQpjk3j6Jds6TVIPkxJcEXXuavJ596PgeJ3ljTeRr JAww== X-Received: by 10.220.157.9 with SMTP id z9mr84087025vcw.45.1357579799968; Mon, 07 Jan 2013 09:29:59 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp71749veb; Mon, 7 Jan 2013 09:29:59 -0800 (PST) X-Received: by 10.180.84.131 with SMTP id z3mr10376574wiy.25.1357579798807; Mon, 07 Jan 2013 09:29:58 -0800 (PST) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id ck5si12513290wib.1.2013.01.07.09.29.58 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 07 Jan 2013 09:29:58 -0800 (PST) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Authentication-Results: mx.google.com; spf=neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1TsGWJ-00034H-FH; Mon, 07 Jan 2013 17:29:55 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, patches@linaro.org Subject: [PATCH] qga/channel-posix.c: Explicitly include string.h Date: Mon, 7 Jan 2013 17:29:55 +0000 Message-Id: <1357579795-11770-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 X-Gm-Message-State: ALoCoQmWXFq90BWy3nxhhD9aSc15iheJGO31c+4K/vNwV0YNnTpF5dT0Of+PyzgBA66u+urpTEC/ Explicitly include string.h to avoid warnings under MacOS X/clang about implicit declarations of strerror() and strlen(). Signed-off-by: Peter Maydell --- I assume under Linux these are implicitly dragged in via one of the other headers. qga/channel-posix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qga/channel-posix.c b/qga/channel-posix.c index d4fd628..ca9e4aa 100644 --- a/qga/channel-posix.c +++ b/qga/channel-posix.c @@ -4,6 +4,7 @@ #include #include #include +#include #include "qemu/osdep.h" #include "qemu/sockets.h" #include "qga/channel.h"