X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fcomponent-const.h;h=aa9f84ceef002ac643384ec01eb53ffd913f1bf4;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hp=f74b58fc819652d98fa9a24901546c0089ce4191;hpb=e874da19b9fd96ac87f70595e0463f8e03af29af;p=babeltrace.git diff --git a/include/babeltrace2/graph/component-const.h b/include/babeltrace2/graph/component-const.h index f74b58fc..aa9f84ce 100644 --- a/include/babeltrace2/graph/component-const.h +++ b/include/babeltrace2/graph/component-const.h @@ -1,5 +1,5 @@ -#ifndef BABELTRACE_GRAPH_COMPONENT_CONST_H -#define BABELTRACE_GRAPH_COMPONENT_CONST_H +#ifndef BABELTRACE2_GRAPH_COMPONENT_CONST_H +#define BABELTRACE2_GRAPH_COMPONENT_CONST_H /* * Copyright 2017-2018 Philippe Proulx @@ -24,6 +24,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + /* For bt_component_class_type */ #include @@ -108,4 +112,4 @@ extern void bt_component_put_ref(const bt_component *component); } #endif -#endif /* BABELTRACE_GRAPH_COMPONENT_CONST_H */ +#endif /* BABELTRACE2_GRAPH_COMPONENT_CONST_H */