*/
#define _GNU_SOURCE
-#define NO_BINDING_VERBOSE_MACRO
+#define AFB_BINDING_PRAGMA_NO_VERBOSE_MACRO
#include <stdlib.h>
+#include <stdio.h>
#include <stdint.h>
#include <signal.h>
#include <string.h>
#include "afb-session.h"
#include "verbose.h"
#include "afb-common.h"
+#include "afb-monitor.h"
#include "afb-hook.h"
#include "sd-fds.h"
ERROR("can't create main api set");
goto error;
}
+ if (afb_monitor_init() < 0) {
+ ERROR("failed to setup monitor");
goto error;
}