From patchwork Thu Oct 27 10:50:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 9399639 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 81E1D6059F for ; Thu, 27 Oct 2016 14:48:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D6F32A2B9 for ; Thu, 27 Oct 2016 14:48:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 620BB2A304; Thu, 27 Oct 2016 14:48:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B0C22A307 for ; Thu, 27 Oct 2016 14:48:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935819AbcJ0OqB (ORCPT ); Thu, 27 Oct 2016 10:46:01 -0400 Received: from mga14.intel.com ([192.55.52.115]:47922 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935258AbcJ0OqA (ORCPT ); Thu, 27 Oct 2016 10:46:00 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 27 Oct 2016 03:52:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,404,1473145200"; d="scan'208";a="1051054031" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by orsmga001.jf.intel.com with ESMTP; 27 Oct 2016 03:52:29 -0700 Received: from nauris.fi.intel.com (nauris.localdomain [192.168.240.2]) by paasikivi.fi.intel.com (Postfix) with ESMTP id 9378720699 for ; Thu, 27 Oct 2016 13:52:28 +0300 (EEST) Received: by nauris.fi.intel.com (Postfix, from userid 1000) id EC9FD2016C; Thu, 27 Oct 2016 13:50:51 +0300 (EEST) From: Sakari Ailus To: linux-media@vger.kernel.org Subject: [PATCH 1/1] v4l: videodev2: Include linux/time.h for timeval and timespec structs Date: Thu, 27 Oct 2016 13:50:51 +0300 Message-Id: <1477565451-3621-1-git-send-email-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP struct timeval and struct timespec are defined in linux/time.h. Explicitly include the header if __KERNEL__ is defined. Signed-off-by: Sakari Ailus --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 4364ce6..bbab50c 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -61,6 +61,7 @@ #endif #include #include +#include #include #include #include