]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/lxc_copy.c
Add getsubopt implementation for Android
[mirror_lxc.git] / src / lxc / lxc_copy.c
index 54f56f4f9d221bc4248bc62fc94afa3f0745c90a..9678b504278dfd95a459eb3755398d0e6f25f24b 100644 (file)
@@ -17,6 +17,8 @@
  */
 
 #define _GNU_SOURCE
+#include "config.h"
+
 #include <unistd.h>
 #include <getopt.h>
 #include <signal.h>
 #include "utils.h"
 #include "bdev.h"
 
+#ifndef HAVE_GETSUBOPT
+#include <../include/getsubopt.h>
+#endif
+
 lxc_log_define(lxc_copy_ui, lxc);
 
 enum mnttype {