Skip to content

Commit

Permalink
fix: remove some relative paths leftovers
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Jan 26, 2024
1 parent f86743f commit 8ddbedc
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 16 deletions.
4 changes: 2 additions & 2 deletions test/libscap/test_suites/engines/gvisor/gvisor_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ limitations under the License.
*/

#include <gtest/gtest.h>
#include "scap.h"
#include "engine/gvisor/gvisor.h"
#include <libscap/scap.h>
#include <libscap/engine/gvisor/gvisor.h>

TEST(gvisor_platform, generate_sandbox_id)
{
Expand Down
3 changes: 0 additions & 3 deletions userspace/libpman/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ PRIVATE
${LIBBPF_INCLUDE}
${MODERN_BPF_SKEL_DIR}
${LIBELF_INCLUDE}
${LIBSCAP_DIR}/driver ## ppm_enum and tables
${LIBSCAP_DIR}/userspace/libscap ## scap-stats struct
${LIBSCAP_DIR}/driver/modern_bpf ## bpf-shared structs
)

target_link_libraries(pman
Expand Down
2 changes: 1 addition & 1 deletion userspace/libscap/engine/test_input/test_input_public.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ limitations under the License.

#pragma once

#include "scap_test.h"
#include <libscap/engine/test_input/scap_test.h>
#include <libscap/scap_procs.h>

#define TEST_INPUT_ENGINE "test_input"
Expand Down
2 changes: 1 addition & 1 deletion userspace/libsinsp/cri_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
*/

#include "cri.hpp"
#include <libsinsp/cri.hpp>

namespace libsinsp
{
Expand Down
2 changes: 1 addition & 1 deletion userspace/libsinsp/sinsp_cycledumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
*/

#include "sinsp_cycledumper.h"
#include <libsinsp/sinsp_cycledumper.h>
#include <iostream>


Expand Down
4 changes: 2 additions & 2 deletions userspace/libsinsp/sinsp_cycledumper.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ limitations under the License.

#pragma once

#include "sinsp.h"
#include "dumper.h"
#include <libsinsp/sinsp.h>
#include <libsinsp/dumper.h>

#include <memory>

Expand Down
4 changes: 2 additions & 2 deletions userspace/libsinsp/sinsp_syslog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ limitations under the License.
*/

#include "sinsp_syslog.h"
#include "utils.h"
#include <libsinsp/sinsp_syslog.h>
#include <libsinsp/utils.h>

#define PRI_BUF_SIZE 16

Expand Down
2 changes: 1 addition & 1 deletion userspace/libsinsp/sinsp_syslog.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ limitations under the License.

#pragma once

#include "sinsp_exception.h"
#include <libsinsp/sinsp_exception.h>

#include <stdint.h>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
#if !defined(MINIMAL_BUILD) and !defined(__EMSCRIPTEN__) // MINIMAL_BUILD and emscripten don't support containers at all
#include <gtest/gtest.h>
#include <cri.h>
#include <cri.hpp>
#include <libsinsp/cri.hpp>
#include <test/helpers/threads_helpers.h>
#include "../sinsp_with_test_input.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
#if !defined(MINIMAL_BUILD) and !defined(__EMSCRIPTEN__) // MINIMAL_BUILD and emscripten don't support containers at all
#include <gtest/gtest.h>
#include <cri.h>
#include <cri.hpp>
#include <libsinsp/cri.hpp>
#include <test/helpers/threads_helpers.h>
#include "../sinsp_with_test_input.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
#if !defined(MINIMAL_BUILD) and !defined(__EMSCRIPTEN__) // MINIMAL_BUILD and emscripten don't support containers at all
#include <gtest/gtest.h>
#include <cri.h>
#include <cri.hpp>
#include <libsinsp/cri.hpp>
#include "../sinsp_with_test_input.h"


Expand Down

0 comments on commit 8ddbedc

Please sign in to comment.