* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/mman.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
+#include <stdarg.h>
+#include <stdint.h>
+#include <stdio.h>
#include <string.h>
-#include <urcu/tls-compat.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
/*
* Work-around inet.h missing struct mmsghdr forward declaration, with
* triggers a warning when system files warnings are enabled.
*/
struct mmsghdr;
#include <arpa/inet.h>
+#include <stddef.h>
#include <stdlib.h>
#include <stdbool.h>
#include <lttng/ringbuffer-config.h>
#include <lttng/ust-context-provider.h>
-static DEFINE_URCU_TLS_IE(unsigned int, test_count);
+static __thread unsigned int test_count;
void test_inc_count(void)
{