X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Fpacket-const.h;h=5390a165f5862229d76b7dfeff23533507ef0349;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hp=948a061ab86fd8550851e4591a128568b1f5c218;hpb=d24d56638469189904fb6ddbb3c725817b3e9417;p=babeltrace.git diff --git a/include/babeltrace2/trace-ir/packet-const.h b/include/babeltrace2/trace-ir/packet-const.h index 948a061a..5390a165 100644 --- a/include/babeltrace2/trace-ir/packet-const.h +++ b/include/babeltrace2/trace-ir/packet-const.h @@ -1,5 +1,5 @@ -#ifndef BABELTRACE_TRACE_IR_PACKET_CONST_H -#define BABELTRACE_TRACE_IR_PACKET_CONST_H +#ifndef BABELTRACE2_TRACE_IR_PACKET_CONST_H +#define BABELTRACE2_TRACE_IR_PACKET_CONST_H /* * Copyright 2016-2018 Philippe Proulx @@ -26,6 +26,10 @@ * http://www.efficios.com/ctf */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include /* For bt_property_availability */ @@ -68,4 +72,4 @@ extern void bt_packet_put_ref(const bt_packet *packet); } #endif -#endif /* BABELTRACE_TRACE_IR_PACKET_CONST_H */ +#endif /* BABELTRACE2_TRACE_IR_PACKET_CONST_H */