mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-02-12 16:11:00 +00:00
Fix BpfMap includes
This commit is contained in:
@ -1,6 +1,9 @@
|
|||||||
#include "bpf_map.h"
|
#include "bpf_map.h"
|
||||||
#include "bpf_exception.h"
|
#include "bpf_exception.h"
|
||||||
#include "bpf_object.h"
|
#include "bpf_object.h"
|
||||||
|
#include <algorithm>
|
||||||
|
#include <cerrno>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
BpfMap::BpfMap(std::shared_ptr<BpfObject> parent, struct bpf_map *raw_map,
|
BpfMap::BpfMap(std::shared_ptr<BpfObject> parent, struct bpf_map *raw_map,
|
||||||
const std::string &map_name)
|
const std::string &map_name)
|
||||||
|
|||||||
@ -1,10 +1,7 @@
|
|||||||
#ifndef PYLIBBPF_BPF_MAP_H
|
#ifndef PYLIBBPF_BPF_MAP_H
|
||||||
#define PYLIBBPF_BPF_MAP_H
|
#define PYLIBBPF_BPF_MAP_H
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <cerrno>
|
|
||||||
#include <cstring>
|
|
||||||
#include <libbpf.h>
|
#include <libbpf.h>
|
||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include <span>
|
#include <span>
|
||||||
|
|||||||
Reference in New Issue
Block a user