Skip to content

Commit

Permalink
Kill wrapper .h, add #include to libbpf.h
Browse files Browse the repository at this point in the history
Signed-off-by: Brenden Blanco <[email protected]>
  • Loading branch information
Brenden Blanco committed Jul 26, 2015
1 parent 3dd85d1 commit 62af2db
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
1 change: 0 additions & 1 deletion src/cc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ install(TARGETS bpfprog LIBRARY DESTINATION lib${LIBSUFFIX})
install(DIRECTORY export/ DESTINATION share/bcc/include/bcc
FILES_MATCHING PATTERN "*.h")
install(FILES bpf_common.h ../libbpf.h DESTINATION include/bcc)
install(FILES bcc.h DESTINATION include)
24 changes: 0 additions & 24 deletions src/cc/bcc.h

This file was deleted.

2 changes: 2 additions & 0 deletions src/libbpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef LIBBPF_H
#define LIBBPF_H

#include <linux/bpf.h>

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit 62af2db

Please sign in to comment.