lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git] / include / babeltrace2 / trace-ir / stream-class-const.h
index ccc99a078cd2d15cc525c19628073d5abb86b745..d8233830580049d91ca6a867e86608c44d4ed0ca 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_TRACE_IR_STREAM_CLASS_CONST_H
-#define BABELTRACE_TRACE_IR_STREAM_CLASS_CONST_H
+#ifndef BABELTRACE2_TRACE_IR_STREAM_CLASS_CONST_H
+#define BABELTRACE2_TRACE_IR_STREAM_CLASS_CONST_H
 
 /*
  * Copyright 2017-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>
 
 /*
@@ -119,4 +123,4 @@ extern void bt_stream_class_put_ref(const bt_stream_class *stream_class);
 }
 #endif
 
-#endif /* BABELTRACE_TRACE_IR_STREAM_CLASS_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_STREAM_CLASS_CONST_H */
This page took 0.024267 seconds and 4 git commands to generate.