Skip to content

Commit 8b748f2

Browse files
committed
cc: restore _UAPI__LINUX_BPF_H__ guard in virtual_bpf.h after libbpf sync
The libbpf update uses __LINUX_BPF_H__ guard, causing duplicate inclusions in BCC's pipeline. Revert to _UAPI__ prefix for now to restore test stability.
1 parent 15dc359 commit 8b748f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cc/compat/linux/virtual_bpf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ R"********(
66
* modify it under the terms of version 2 of the GNU General Public
77
* License as published by the Free Software Foundation.
88
*/
9-
#ifndef __LINUX_BPF_H__
10-
#define __LINUX_BPF_H__
9+
#ifndef _UAPI__LINUX_BPF_H__
10+
#define _UAPI__LINUX_BPF_H__
1111

1212
#include <linux/types.h>
1313
#include <linux/bpf_common.h>

0 commit comments

Comments
 (0)