projects
/
platform
/
core
/
security
/
klay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce32c8
)
[Tizen 6.0] Enable build with updated glibc
75/221675/1
accepted/tizen/unified/20200108.131646
submit/tizen/20200107.053941
author
Mikhail Kashkarov
<m.kashkarov@partner.samsung.com>
Fri, 13 Dec 2019 07:04:53 +0000
(10:04 +0300)
committer
Sangwan Kwon
<sangwan.kwon@samsung.com>
Tue, 7 Jan 2020 02:01:55 +0000
(11:01 +0900)
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 <m.kashkarov@partner.samsung.com>
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
src/file-user.cpp
patch
|
blob
|
history
diff --git
a/src/file-user.cpp
b/src/file-user.cpp
index a2a9393f62b785448fd6e81a47bcff3b4b076ac0..283ffce502e5ec5b656e19864e17a25ddc3a6c6f 100644
(file)
--- a/
src/file-user.cpp
+++ b/
src/file-user.cpp
@@
-15,6
+15,7
@@
*/
#include <fcntl.h>
+#include <sys/sysmacros.h>
#include <unistd.h>
#include <fstream>