summaryrefslogtreecommitdiff
path: root/sysutils/lttng-ust/files/patch-liblttng-ust-fd_lttng-ust-fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/lttng-ust/files/patch-liblttng-ust-fd_lttng-ust-fd.c')
-rw-r--r--sysutils/lttng-ust/files/patch-liblttng-ust-fd_lttng-ust-fd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/lttng-ust/files/patch-liblttng-ust-fd_lttng-ust-fd.c b/sysutils/lttng-ust/files/patch-liblttng-ust-fd_lttng-ust-fd.c
new file mode 100644
index 000000000000..b86296cb1067
--- /dev/null
+++ b/sysutils/lttng-ust/files/patch-liblttng-ust-fd_lttng-ust-fd.c
@@ -0,0 +1,11 @@
+--- liblttng-ust-fd/lttng-ust-fd.c.orig 2016-11-29 01:46:24 UTC
++++ liblttng-ust-fd/lttng-ust-fd.c
+@@ -28,7 +28,7 @@
+ #include <helper.h>
+ #include "usterr-signal-safe.h"
+
+-volatile enum ust_loglevel ust_loglevel;
++extern volatile enum ust_loglevel ust_loglevel;
+
+ static int (*__lttng_ust_fd_plibc_close)(int fd);
+