From patchwork Thu Dec 19 18:56:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 11304295 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 716B41580 for ; Thu, 19 Dec 2019 18:58:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45FC4227BF for ; Thu, 19 Dec 2019 18:58:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576781900; bh=GkdpWOFOCOgR90KM9oZFkRYoPZgyma6BK0szesnYoFE=; h=From:To:Cc:Subject:Date:List-ID:From; b=XOqHJXoPeSlidbdegHv4vmZGI6A5Wja6xIuX/UQBd3IHRfVw7g+7B+dW9cj1filZE cez0yDWsw0oYLahwXraQKY8dxTCTGMywpyYaP3xQBegsDEI+yzA8Yn/spuJTQgz1O8 xzBZZk8IX7I2csalnHJcrU3ID6XEM5VaLyswpfC0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729431AbfLSS6T (ORCPT ); Thu, 19 Dec 2019 13:58:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:54574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728433AbfLSS6S (ORCPT ); Thu, 19 Dec 2019 13:58:18 -0500 Received: from ebiggers-linuxstation.mtv.corp.google.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7E111206EC; Thu, 19 Dec 2019 18:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576781897; bh=GkdpWOFOCOgR90KM9oZFkRYoPZgyma6BK0szesnYoFE=; h=From:To:Cc:Subject:Date:From; b=wQ6IjdeH1IdVkr5XBcCMRY3diuu8SDCzvw3YYCumvE07BUAtSK07MFd0nuNmBgN6V 3Dbiko4viw9Zo0aeImCeoLhiRO61P0C8MsoMe9aLbwut4KoPTCfyHtSHvK1Bit4Jqs UFcdNwaf+LEygZXZfhJwvSfodqCkVRWOqccWTnaI= From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org Subject: [PATCH] fscrypt: include in UAPI header Date: Thu, 19 Dec 2019 10:56:24 -0800 Message-Id: <20191219185624.21251-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.24.1.735.g03f4e72817-goog MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org From: Eric Biggers defines ioctl numbers using the macros like _IORW() which are defined in , so should be included as a prerequisite, like it is in many other kernel headers. In practice this doesn't really matter since anyone referencing these ioctl numbers will almost certainly include too in order to actually call ioctl(). But we might as well fix this. Signed-off-by: Eric Biggers --- include/uapi/linux/fscrypt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/fscrypt.h b/include/uapi/linux/fscrypt.h index d5112a24e8b9f..0d8a6f47711c3 100644 --- a/include/uapi/linux/fscrypt.h +++ b/include/uapi/linux/fscrypt.h @@ -8,6 +8,7 @@ #ifndef _UAPI_LINUX_FSCRYPT_H #define _UAPI_LINUX_FSCRYPT_H +#include #include /* Encryption policy flags */