From nobody Sat Apr 20 03:09:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1486707187341537.3365218778657; Thu, 9 Feb 2017 22:13:07 -0800 (PST) Received: from localhost ([::1]:42092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc4S9-0006lH-JN for importer@patchew.org; Fri, 10 Feb 2017 01:13:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc4RJ-0006UI-14 for qemu-devel@nongnu.org; Fri, 10 Feb 2017 01:12:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc4RF-0008Gy-TK for qemu-devel@nongnu.org; Fri, 10 Feb 2017 01:12:12 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:58606) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cc4RF-0008Gl-Mi for qemu-devel@nongnu.org; Fri, 10 Feb 2017 01:12:09 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id C64B5340C9F; Fri, 10 Feb 2017 06:12:05 +0000 (UTC) From: Mike Frysinger To: qemu-devel@nongnu.org Date: Fri, 10 Feb 2017 01:12:00 -0500 Message-Id: <20170210061200.15373-1-vapier@gentoo.org> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 140.211.166.183 Subject: [Qemu-devel] [PATCH] osdep.h: pull in sys/sysmacros.h for major/minor/makedev 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Linux C libs are moving away from implicit header pollution with sys/types.h Signed-off-by: Mike Frysinger --- include/qemu/osdep.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 56c9e22405ec..6aaace6cf37f 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -85,6 +85,10 @@ extern int daemon(int, int); #include #include =20 +#ifdef __linux__ +#include +#endif + #ifdef __OpenBSD__ #include #endif --=20 2.11.0