X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fmessage-stream-end-const.h;h=b7bccc7d2d9cf14ce9074e2820317c2e2a4a6f9d;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hp=b182ee87be1660e2f7272542991967f5d5545ca8;hpb=188edac1113dbbb29030681dbde2de0ada742499;p=babeltrace.git diff --git a/include/babeltrace2/graph/message-stream-end-const.h b/include/babeltrace2/graph/message-stream-end-const.h index b182ee87..b7bccc7d 100644 --- a/include/babeltrace2/graph/message-stream-end-const.h +++ b/include/babeltrace2/graph/message-stream-end-const.h @@ -1,5 +1,5 @@ -#ifndef BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_END_H -#define BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_END_H +#ifndef BABELTRACE2_GRAPH_MESSAGE_STREAM_END_CONST_H +#define BABELTRACE2_GRAPH_MESSAGE_STREAM_END_CONST_H /* * Copyright 2017-2018 Philippe Proulx @@ -24,6 +24,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + /* For bt_message, bt_clock_snapshot, bt_stream */ #include @@ -49,4 +53,4 @@ bt_message_stream_end_borrow_stream_class_default_clock_class_const( } #endif -#endif /* BABELTRACE_GRAPH_MESSAGE_STREAM_BEGINNING_END_H */ +#endif /* BABELTRACE2_GRAPH_MESSAGE_STREAM_END_CONST_H */