lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git] / include / babeltrace2 / property.h
index cc3906b449680c715f1384ec045335c9ee399b7c..3e62455b558f375222f6fa6feebff9a41aae6dc6 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_PROPERTY_H
-#define BABELTRACE_PROPERTY_H
+#ifndef BABELTRACE2_PROPERTY_H
+#define BABELTRACE2_PROPERTY_H
 
 /*
  * Copyright (c) 2018 Philippe Proulx <pproulx@efficios.com>
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -36,4 +40,4 @@ typedef enum bt_property_availability {
 }
 #endif
 
-#endif /* BABELTRACE_PROPERTY_H */
+#endif /* BABELTRACE2_PROPERTY_H */
This page took 0.023628 seconds and 4 git commands to generate.