Fix: location of various standard headers
[lttng-tools.git] / src / common / daemonize.c
index b9d0b03faeed08c100ec0d0587030e30817c1d1a..b12194ee9480c9aab2933258c987a9adff126100 100644 (file)
  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <unistd.h>
-#include <paths.h>
+#include <common/compat/paths.h>
 #include <fcntl.h>
-#include <wait.h>
+#include <sys/wait.h>
 #include <stdlib.h>
 
 #include <urcu/system.h>
@@ -29,6 +28,7 @@
 #include <src/common/daemonize.h>
 #include <src/common/error.h>
 
+LTTNG_HIDDEN
 int lttng_daemonize(pid_t *child_ppid, int *completion_flag,
                int close_fds)
 {
This page took 0.026035 seconds and 5 git commands to generate.