lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git] / include / babeltrace2 / version.h
index 7fed407a92c6a27b0a57efc21897e3c03a2e06df..d1677319551152343f4c0790ad98bb5488539a66 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_VERSION_H
-#define BABELTRACE_VERSION_H
+#ifndef BABELTRACE2_VERSION_H
+#define BABELTRACE2_VERSION_H
 
 /*
  * Copyright 2017 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 @@ extern const char *bt_version_get_extra(void);
 }
 #endif
 
-#endif /* BABELTRACE_VERSION_H */
+#endif /* BABELTRACE2_VERSION_H */
This page took 0.024016 seconds and 4 git commands to generate.