Quoting Sravan V Dodla ([email protected]):
> Hello,
> 
> I have been facing an compilation issue with the latest version of LTP. After 
> some debugging I found out that the

I don't see that code in current ltp head.  It checks HAVE_LIBCAP.
What code are you looking at?

> flag HAVE_SYS_CAPABILITY_H is not used and sys/capability.h is being included.
> So here is the patch to get rid of this error.
> 
> Signed-off-by: Sravan V Dodla <[email protected]>.
> 
> --- c.c       2010-09-23 06:09:27.257635313 +0530
> +++ c.c.orig  2010-09-23 06:08:54.643698431 +0530
> @@ -20,9 +20,7 @@
>  
>  
>  #include <stdio.h>
> -#if HAVE_SYS_CAPABILITY_H
>  #include <sys/capability.h>
> -#endif
>  
>  int main()
>  {
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to