On Thu, Aug 2, 2012 at 1:24 AM, <[email protected]> wrote:

> From: "Thiago Marcos P. Santos" <[email protected]>
>
> Signed-off-by: Thiago Marcos P. Santos <[email protected]>
> ---
>  include/seccomp.h |    8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/include/seccomp.h b/include/seccomp.h
> index 42ad4fb..220e233 100644
> --- a/include/seccomp.h
> +++ b/include/seccomp.h
> @@ -25,6 +25,10 @@
>  #include <inttypes.h>
>  #include <asm/unistd.h>
>
> +#ifdef __cplusplus
> +extern "C" {
> +#endif
> +
>  /*
>   * types
>   */
> @@ -458,4 +462,8 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int
> fd);
>  #define __NR_shmctl            __PNR_shmctl
>  #endif /* __NR_shmctl */
>
> +#ifdef __cplusplus
> +}
> +#endif
> +
>  #endif
> --
> 1.7.9.5
>
>
Would be nice if we could apply this one on the release 1.0.0 branch too.

Cheers,
------------------------------------------------------------------------------
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/
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to