File swtpm-adjust-seccomp-path.patch of Package swtpm

From 8a3e012e509efcc3a7d8fb4b73ecf761577c0cf2 Mon Sep 17 00:00:00 2001
From: Gary Lin <glin@suse.com>
Date: Tue, 16 Jul 2019 17:03:26 +0800
Subject: [PATCH] Adjust seccomp.h path

Signed-off-by: Gary Lin <glin@suse.com>
---
 src/swtpm/swtpm.c         | 2 +-
 src/swtpm/swtpm_chardev.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/swtpm/swtpm.c b/src/swtpm/swtpm.c
index 3ecbb7b..7f1010f 100644
--- a/src/swtpm/swtpm.c
+++ b/src/swtpm/swtpm.c
@@ -51,7 +51,7 @@
 #include <sys/socket.h>
 
 #ifdef WITH_SECCOMP
-# include <seccomp.h>
+# include <libseccomp/seccomp.h>
 #endif
 
 #include <libtpms/tpm_error.h>
diff --git a/src/swtpm/swtpm_chardev.c b/src/swtpm/swtpm_chardev.c
index 6278621..c3d0a9f 100644
--- a/src/swtpm/swtpm_chardev.c
+++ b/src/swtpm/swtpm_chardev.c
@@ -51,7 +51,7 @@
 #include <sys/ioctl.h>
 
 #ifdef WITH_SECCOMP
-# include <seccomp.h>
+# include <libseccomp/seccomp.h>
 #endif
 
 #include <libtpms/tpm_error.h>
-- 
2.22.0