From d2ac5fcfb4a6c60a73187b61a07e2b74f9dc5317 Mon Sep 17 00:00:00 2001 From: Grzegorz Nosek Date: Tue, 20 Jun 2023 13:21:41 +0200 Subject: [PATCH] chore(scap): trim scap.c includes Signed-off-by: Grzegorz Nosek --- userspace/libscap/scap.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/userspace/libscap/scap.c b/userspace/libscap/scap.c index ff831170d0..f1fd712504 100644 --- a/userspace/libscap/scap.c +++ b/userspace/libscap/scap.c @@ -16,33 +16,21 @@ limitations under the License. */ #include -#include -#ifdef _WIN32 -#include -#else -#include -#include -#include -#include -#endif // _WIN32 #include "scap.h" #include "strerror.h" #include "strl.h" -#include "../../driver/ppm_ringbuffer.h" #include "scap-int.h" #include "scap_api_version.h" #include "scap_platform.h" +#define SCAP_HANDLE_T void #include "scap_engines.h" #ifdef __linux__ #include "scap_linux_platform.h" #endif -//#define NDEBUG -#include - const char* scap_getlasterr(scap_t* handle) { return handle ? handle->m_lasterr : "null scap handle";