X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fdaemonize.c;h=3a006134b2bb9f5902b531b84c7d263315f81ae9;hp=a8e290603091328e23012d8d39ffda79574d0231;hb=d5d516999a7f74b8906bd759533ba14fb40e5ae4;hpb=99ed9c436a035b26c64b8efcbaec8b3d91d754d6 diff --git a/src/common/daemonize.c b/src/common/daemonize.c index a8e290603..3a006134b 100644 --- a/src/common/daemonize.c +++ b/src/common/daemonize.c @@ -17,6 +17,7 @@ */ #define _GNU_SOURCE +#define _LGPL_SOURCE #include #include #include @@ -28,6 +29,7 @@ #include #include +LTTNG_HIDDEN int lttng_daemonize(pid_t *child_ppid, int *completion_flag, int close_fds) {