-#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 <pproulx@efficios.com>
* http://www.efficios.com/ctf
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
/* For bt_property_availability */
}
#endif
-#endif /* BABELTRACE_TRACE_IR_PACKET_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_PACKET_CONST_H */