From 08a072c70998f89aef8f9704a16b52998a0a4d69 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 14 Nov 2016 16:43:15 +0100 Subject: [PATCH] btrfs-progs: ioctl: fix compilation if ioctl.h is included standalone Definition of NULL is missing if ioctl.h is included standalone or when no other include pulls the definition. Reported-by: Sergei Trofimovich Signed-off-by: David Sterba --- ioctl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ioctl.h b/ioctl.h index cdfb8882..709e996f 100644 --- a/ioctl.h +++ b/ioctl.h @@ -25,6 +25,7 @@ extern "C" { #include #include +#include #ifndef __user #define __user