lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git] / include / babeltrace2 / plugin / plugin-set-const.h
index 3e1caa066bb72af65c03fb5e5e69efbb65bf8fe3..6e68b30f998716b443835e1b146e05cb99058aa9 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_PLUGIN_PLUGIN_SET_CONST_H
-#define BABELTRACE_PLUGIN_PLUGIN_SET_CONST_H
+#ifndef BABELTRACE2_PLUGIN_PLUGIN_SET_CONST_H
+#define BABELTRACE2_PLUGIN_PLUGIN_SET_CONST_H
 
 /*
  * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
 /* For bt_plugin, bt_plugin_set */
@@ -60,4 +64,4 @@ extern void bt_plugin_set_put_ref(const bt_plugin_set *plugin_set);
 }
 #endif
 
-#endif /* BABELTRACE_PLUGIN_PLUGIN_SET_CONST_H */
+#endif /* BABELTRACE2_PLUGIN_PLUGIN_SET_CONST_H */
This page took 0.023861 seconds and 4 git commands to generate.