[Libguestfs] [PATCH 2/5] fuse: Implement --long-options and --short-options in guestunmount.

Richard W.M. Jones rjones at redhat.com
Thu Aug 25 12:15:26 UTC 2016


---
 fuse/Makefile.am    | 2 ++
 fuse/guestunmount.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/fuse/Makefile.am b/fuse/Makefile.am
index c70f649..2848685 100644
--- a/fuse/Makefile.am
+++ b/fuse/Makefile.am
@@ -82,11 +82,13 @@ guestmount_LDADD = \
 # guestunmount
 
 guestunmount_SOURCES = \
+	../fish/display-options.c \
 	guestunmount.c
 
 guestunmount_CPPFLAGS = \
 	-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
 	-I$(top_srcdir)/src -I$(top_builddir)/src \
+	-I$(top_srcdir)/fish \
 	-I$(srcdir)/../gnulib/lib -I../gnulib/lib
 
 guestunmount_CFLAGS = \
diff --git a/fuse/guestunmount.c b/fuse/guestunmount.c
index c686f40..efd342f 100644
--- a/fuse/guestunmount.c
+++ b/fuse/guestunmount.c
@@ -39,6 +39,8 @@
 
 #include "ignore-value.h"
 
+#include "display-options.h"
+
 static int do_fusermount (const char *mountpoint, char **error_rtn);
 static void do_fuser (const char *mountpoint);
 
-- 
2.7.4




More information about the Libguestfs mailing list