Namespace lttng/align.h macros
[deliverable/lttng-ust.git] / liblttng-ust / lttng-ust-comm.c
index b265bcd3c61e254c9e8dc889d56fef389f2c18e1..4432a5da396d1a2f574ab74d5200e209ada277a3 100644 (file)
@@ -42,6 +42,7 @@
 #include <urcu/futex.h>
 #include <urcu/compiler.h>
 
+#include <lttng/align.h>
 #include <lttng/ust-events.h>
 #include <lttng/ust-abi.h>
 #include <lttng/ust.h>
@@ -1173,7 +1174,7 @@ void cleanup_sock_info(struct sock_info *sock_info, int exiting)
        if (sock_info->wait_shm_mmap) {
                long page_size;
 
-               page_size = sysconf(_SC_PAGE_SIZE);
+               page_size = LTTNG_UST_PAGE_SIZE;
                if (page_size <= 0) {
                        if (!page_size) {
                                errno = EINVAL;
This page took 0.02528 seconds and 5 git commands to generate.