*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <limits.h>
#include <inttypes.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <urcu.h>
+#include <dirent.h>
+#include <sys/types.h>
#include <common/common.h>
#include <common/sessiond-comm/sessiond-comm.h>