Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / graph / message-discarded-packets.h
index c0d4af5b2e66eca599c5e5c2dca5b75c86c2c181..c268d54d2048ebf013123292bf77f94e5146db49 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef BABELTRACE_GRAPH_MESSAGE_DISCARDED_PACKETS_H
-#define BABELTRACE_GRAPH_MESSAGE_DISCARDED_PACKETS_H
+#ifndef BABELTRACE2_GRAPH_MESSAGE_DISCARDED_PACKETS_H
+#define BABELTRACE2_GRAPH_MESSAGE_DISCARDED_PACKETS_H
 
 /*
- * Copyright 2019 Philippe Proulx <pproulx@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
-/* For bt_message, bt_self_message_iterator, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
@@ -51,4 +54,4 @@ extern void bt_message_discarded_packets_set_count(bt_message *message,
 }
 #endif
 
-#endif /* BABELTRACE_GRAPH_MESSAGE_DISCARDED_PACKETS_H */
+#endif /* BABELTRACE2_GRAPH_MESSAGE_DISCARDED_PACKETS_H */
This page took 0.025014 seconds and 4 git commands to generate.