#include <sys/mman.h>
#include <fcntl.h>
-#include <lttng/align.h>
#include "libringbuffer/shm.h"
+#include "ust-compat.h"
#include "tap.h"
#define SHM_PATH "/ust-shm-test"
-int main()
+int main(void)
{
int shmfd;
size_t shmsize = LTTNG_UST_PAGE_SIZE * 10;