From 8a8e007f3f1d4e33abbae2a03d52ee356f597a39 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Mon, 20 Apr 2020 17:54:10 -0400 Subject: [PATCH] swtpm: Remove unnecessary #include (fixes SuSE build) It's not necessary anymore to #include from the main programs. Once removed, it also fixes the build on SuSE where seccomp.h is in seccomp/seccomp.h and we didn't use the LIBSECCOMP_CFLAGS for swtpm.c etc. Signed-off-by: Stefan Berger --- src/swtpm/cuse_tpm.c | 4 ---- src/swtpm/swtpm.c | 4 ---- src/swtpm/swtpm_chardev.c | 4 ---- 3 files changed, 12 deletions(-) diff --git a/src/swtpm/cuse_tpm.c b/src/swtpm/cuse_tpm.c index 379386b3d..8c07ef9e2 100644 --- a/src/swtpm/cuse_tpm.c +++ b/src/swtpm/cuse_tpm.c @@ -58,10 +58,6 @@ #include -#ifdef WITH_SECCOMP -# include -#endif - #include #include #include diff --git a/src/swtpm/swtpm.c b/src/swtpm/swtpm.c index 0fc22c478..5758355eb 100644 --- a/src/swtpm/swtpm.c +++ b/src/swtpm/swtpm.c @@ -50,10 +50,6 @@ #include #include -#ifdef WITH_SECCOMP -# include -#endif - #include #include #include diff --git a/src/swtpm/swtpm_chardev.c b/src/swtpm/swtpm_chardev.c index e036b7fe5..b3f97dc15 100644 --- a/src/swtpm/swtpm_chardev.c +++ b/src/swtpm/swtpm_chardev.c @@ -50,10 +50,6 @@ #include #include -#ifdef WITH_SECCOMP -# include -#endif - #include #include #include