X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fversion.h;h=d1677319551152343f4c0790ad98bb5488539a66;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hp=7fed407a92c6a27b0a57efc21897e3c03a2e06df;hpb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;p=babeltrace.git diff --git a/include/babeltrace2/version.h b/include/babeltrace2/version.h index 7fed407a..d1677319 100644 --- a/include/babeltrace2/version.h +++ b/include/babeltrace2/version.h @@ -1,5 +1,5 @@ -#ifndef BABELTRACE_VERSION_H -#define BABELTRACE_VERSION_H +#ifndef BABELTRACE2_VERSION_H +#define BABELTRACE2_VERSION_H /* * Copyright 2017 Philippe Proulx @@ -23,6 +23,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include 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 */