From patchwork Sun Apr 28 23:23:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 1125 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BC312600EA for ; Mon, 29 Apr 2019 01:23:38 +0200 (CEST) Received: from pendragon.station (net-37-182-44-227.cust.vodafonedsl.it [37.182.44.227]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 465552D1 for ; Mon, 29 Apr 2019 01:23:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1556493818; bh=nEr3Qxkif8v9V+aUTqfaNrIQcubTRIfSre8MEVT3rzM=; h=From:To:Subject:Date:From; b=BNzeTDhWlXVwEepMFskRx4s8RfWWJ5sc456lecchZHTdfO3ieWBOnV0e6zmurIN83 l5DSSYUYiEd/pBOl85kIEx6ve5rCKFWFQJ7zrrxrfClQegsaRpJd0pxfZGECp5DR6Y EWfodD5GM8LVG6oSVZ6Egvsz2o4zmEfOgguKMS/E= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 29 Apr 2019 02:23:22 +0300 Message-Id: <20190428232322.31151-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: device_enumerator_udev: Include missing header X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2019 23:23:38 -0000 The makedev() macro is defined in sys/sysmacros.h, include the header explicitly. Signed-off-by: Laurent Pinchart --- src/libcamera/device_enumerator_udev.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcamera/device_enumerator_udev.cpp b/src/libcamera/device_enumerator_udev.cpp index cb2d21b90506..86f6ca184698 100644 --- a/src/libcamera/device_enumerator_udev.cpp +++ b/src/libcamera/device_enumerator_udev.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include