X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Funit%2Ftest_kernel_data.c;h=5847729bde2ef08cbb1b6d04775389c7878de010;hb=bc1f87ff76fb31839ce8e4fd224d451bd368c21b;hp=7ed0453af603b689c918866282b38284b3d03fd6;hpb=2d6bae7ed336ffdda5e9e7f94495f5ef43238847;p=lttng-tools.git diff --git a/tests/unit/test_kernel_data.c b/tests/unit/test_kernel_data.c index 7ed0453af..5847729bd 100644 --- a/tests/unit/test_kernel_data.c +++ b/tests/unit/test_kernel_data.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 EfficiOS Inc. * * SPDX-License-Identifier: GPL-2.0-only * @@ -23,10 +23,10 @@ /* Number of TAP tests in this file */ #define NUM_TESTS 11 -/* For error.h */ -int lttng_opt_quiet = 1; -int lttng_opt_verbose; -int lttng_opt_mi; +#ifdef HAVE_LIBLTTNG_UST_CTL +#include +DEFINE_LTTNG_UST_SIGBUS_STATE(); +#endif static const char alphanum[] = "0123456789"