/* SPDX-License-Identifier: LGPL-2.1+ */
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE 1
-#endif
+#include "config.h"
+
#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/prctl.h>
#include <sys/wait.h>
-#include "config.h"
#include "log.h"
#include "memory_utils.h"
#include "nbd.h"
#include "utils.h"
#ifndef HAVE_STRLCPY
-#include "include/strlcpy.h"
+#include "strlcpy.h"
#endif
lxc_log_define(nbd, lxc);
}
int nbd_create(struct lxc_storage *bdev, const char *dest, const char *n,
- struct bdev_specs *specs)
+ struct bdev_specs *specs, const struct lxc_conf *conf)
{
return -ENOSYS;
}