Clean-up: modernize pretty_xml.cpp
[lttng-tools.git] / tests / unit / test_unix_socket.cpp
index 361dbe36a7edf4e0c7b304b81ed30e499cd9211e..e0af6e2969b4125417d0ec11d98659cac54ff32d 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-#include <common/compat/fcntl.hpp>
 #include <common/defaults.hpp>
 #include <common/error.hpp>
 #include <common/payload-view.hpp>
@@ -17,6 +16,7 @@
 #include <lttng/constant.h>
 
 #include <algorithm>
+#include <fcntl.h>
 #include <pthread.h>
 #include <stdbool.h>
 #include <stdio.h>
@@ -27,7 +27,7 @@
 
 #define HIGH_FD_COUNT          LTTCOMM_MAX_SEND_FDS
 #define MESSAGE_COUNT          4
-#define LARGE_PAYLOAD_SIZE     4 * 1024
+#define LARGE_PAYLOAD_SIZE     (4 * 1024)
 #define LARGE_PAYLOAD_RECV_SIZE 100
 
 static const int TEST_COUNT = 37;
This page took 0.022839 seconds and 4 git commands to generate.