Use compat bpf_common.h for local clang build
authorBrenden Blanco <bblanco@gmail.com>
Thu, 29 Dec 2016 23:55:07 +0000 (15:55 -0800)
committerBrenden Blanco <bblanco@gmail.com>
Thu, 29 Dec 2016 23:55:07 +0000 (15:55 -0800)
Only the virtual_bpf.h should point to the installed kernel headers.

Signed-off-by: Brenden Blanco <bblanco@gmail.com>
src/cc/compat/linux/bpf.h

index 0eb0e87..e7bb296 100644 (file)
@@ -8,7 +8,7 @@
 #define _UAPI__LINUX_BPF_H__
 
 #include <linux/types.h>
-#include <linux/bpf_common.h>
+#include "bpf_common.h"
 
 /* Extended instruction set based on top of classic BPF */