From 7671594f52dbc8466389ef7e25f48025035c0a8e Mon Sep 17 00:00:00 2001 From: Teng Qin Date: Sat, 29 Oct 2016 23:00:02 -0700 Subject: [PATCH] Use headers from BCC in installed files (#793) --- src/cc/compat/linux/bpf.h | 2 +- src/cc/libbpf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/compat/linux/bpf.h b/src/cc/compat/linux/bpf.h index 615fcc9..834f47c 100644 --- a/src/cc/compat/linux/bpf.h +++ b/src/cc/compat/linux/bpf.h @@ -8,7 +8,7 @@ #define _UAPI__LINUX_BPF_H__ #include -#include +#include "bpf_common.h" /* Extended instruction set based on top of classic BPF */ diff --git a/src/cc/libbpf.h b/src/cc/libbpf.h index dfcfbae..f55fa33 100644 --- a/src/cc/libbpf.h +++ b/src/cc/libbpf.h @@ -18,7 +18,7 @@ #ifndef LIBBPF_H #define LIBBPF_H -#include +#include "compat/linux/bpf.h" #ifdef __cplusplus extern "C" { -- 2.7.4