From: Mikhail Kashkarov Date: Fri, 13 Dec 2019 07:04:53 +0000 (+0300) Subject: [Tizen 6.0] Enable build with updated glibc X-Git-Tag: submit/tizen/20200107.053941^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99306efca992b22c627f0a2bd93641a01e32183f;p=platform%2Fcore%2Fsecurity%2Fklay.git [Tizen 6.0] Enable build with updated glibc Since glibc 2.27 this header is required. file-user.cpp:60:12: error: 'major' was not declared in this scope 60 | devMaj = major(dev); | ^~~~~ Change-Id: I11a8b84c94ea20fef2060df2681f80407730c2bb Signed-off-by: Mikhail Kashkarov Signed-off-by: Sangwan Kwon --- diff --git a/src/file-user.cpp b/src/file-user.cpp index a2a9393..283ffce 100644 --- a/src/file-user.cpp +++ b/src/file-user.cpp @@ -15,6 +15,7 @@ */ #include +#include #include #include