filecaps: Fix build.
PATCH 1/1 filecaps: Fix build.
Fix build error that was introduced at commit66ad27e08d774c572e99e97cc9b885295ec0aa55.
gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/tmp/ltp/testcases/kernel/include -D_GNU_SOURCE -I../../../../include -I../../../../include -L../../../../lib c.c -lltp -o c c.c:22:28: fatal
error: sys/capability.h: No such file or directory
--- testcases/kernel/security/filecaps/c.c | 2 ++ 1 file changed, 2 insertions(+)
testcases/kernel/security/filecaps/c.c +2 -0
@@ -19,7 +19,9 @@/******************************************************************************/ #include <stdio.h> +#if HAVE_SYS_CAPABILITY_H #include <sys/capability.h> +#endif int main () {
Signature · 13 lines
1.7.9.5 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 9 lines · Vinson Lee
Fix build error that was introduced at commit
66ad27e08d774c572e99e97cc9b885295ec0aa55.gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
(quoted diff) +0
-2-I/tmp/ltp/testcases/kernel/include -D_GNU_SOURCE -I../../../../include -I../../../../include -L../../../../lib c.c -lltp -o c c.c:22:28: fatalerror:
sys/capability.h: No such file or directorySigned-off-by Vinson Lee <[email protected]>
pushed, thanks Vinson.
Wanlong Gao
Quoted 10 lines
--- testcases/kernel/security/filecaps/c.c | 2 ++ 1 file changed, 2 insertions(+)testcases/kernel/security/filecaps/c.c +0
-0
testcases/kernel/security/filecaps/c.c line 27
Quoted 9 lines
testcases/kernel/security/filecaps/c.c +2
-0@@ -19,7 +19,9 @@/******************************************************************************/ #include <stdio.h> +#if HAVE_SYS_CAPABILITY_H #include <sys/capability.h> +#endif int main () {
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list