projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git]
/
include
/
babeltrace2
/
graph
/
port-const.h
diff --git
a/include/babeltrace2/graph/port-const.h
b/include/babeltrace2/graph/port-const.h
index a6436a5daf1c1c7c5a66685430fc5d56a87c1091..3ed544265f9754c63f8c061af3382f966eebe4c0 100644
(file)
--- a/
include/babeltrace2/graph/port-const.h
+++ b/
include/babeltrace2/graph/port-const.h
@@
-24,6
+24,10
@@
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
/* For bt_bool, bt_port, bt_connection, bt_component */
This page took
0.023782 seconds
and
4
git commands to generate.