From 3c5e8206c2660e33f31f500465f24357efd4cf3d Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Tue, 10 Mar 2015 21:29:00 +0100 Subject: [PATCH] parameter: include header for ERR_PTR and errno Commit 03b59bdb64e83e (paramter: The dev_add_param_*() return ERR_PTR(), change no-ops to return ERR_PTR(-ENOSYS) instead of NULL) started using ERR_PTR and errnos without including the relevant header. This fixes the build for a lot of configurations. Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- include/param.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/param.h b/include/param.h index bd2c07899..3a851fc55 100644 --- a/include/param.h +++ b/include/param.h @@ -1,6 +1,7 @@ #ifndef PARAM_H #define PARAM_H +#include #include #include