diff --git a/src/cc/CMakeLists.txt b/src/cc/CMakeLists.txt index cc2d983d644a..b487912f5f66 100644 --- a/src/cc/CMakeLists.txt +++ b/src/cc/CMakeLists.txt @@ -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) diff --git a/src/cc/bcc.h b/src/cc/bcc.h deleted file mode 100644 index 6e04256173c1..000000000000 --- a/src/cc/bcc.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) 2015 PLUMgrid, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef BCC_H -#define BCC_H - -#include -#include -#include - -#endif diff --git a/src/libbpf.h b/src/libbpf.h index dc1d6e372c2e..dda817f0085b 100644 --- a/src/libbpf.h +++ b/src/libbpf.h @@ -18,6 +18,8 @@ #ifndef LIBBPF_H #define LIBBPF_H +#include + #ifdef __cplusplus extern "C" { #endif