Fix BpfMap includes

This commit is contained in:
Pragyansh Chaturvedi
2025-10-20 05:58:55 +05:30
parent 88716ce19a
commit fb82b609f9
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,9 @@
#include "bpf_map.h"
#include "bpf_exception.h"
#include "bpf_object.h"
#include <algorithm>
#include <cerrno>
#include <cstring>
BpfMap::BpfMap(std::shared_ptr<BpfObject> parent, struct bpf_map *raw_map,
const std::string &map_name)

View File

@ -1,10 +1,7 @@
#ifndef PYLIBBPF_BPF_MAP_H
#define PYLIBBPF_BPF_MAP_H
#include <algorithm>
#include <array>
#include <cerrno>
#include <cstring>
#include <libbpf.h>
#include <pybind11/pybind11.h>
#include <span>