Merge branch 'master' into dev
[lttng-ust.git] / tests / ust-basic-tracing / ust-basic-tracing.c
index ae2c8816715b195825e9b68a984d9e34b8ceeb42..0705a48c5975f3934229ec02ae1edc6846ae4a7d 100644 (file)
@@ -29,6 +29,8 @@
 #include <sys/wait.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/time.h>
+#include <sys/resource.h>
 #include <fcntl.h>
 #include <sys/mman.h>
 #include <limits.h>
@@ -221,7 +223,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
        }
 
        /* copy */
-       outfd = open(outfile, O_WRONLY | O_CREAT | O_LARGEFILE | O_TRUNC,
+       outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC,
                        S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
        if (outfd < 0) {
                perror("open output");
This page took 0.024536 seconds and 4 git commands to generate.