From a772248e1a2f0886d8479b2f14392f020ea8c6e0 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 2 Apr 2020 01:07:35 +0200 Subject: Import the remaining utility files into VisualStudio project - The libcommon print verion function requires the PACKAGE_NAME and PACKAGE_VERSION defines. Those are added manually to the msvc stub of config.h. - Also, libcommon cannot directly include getopt.h - libfstree needs to change the return type for getline Signed-off-by: David Oberhollenzer --- lib/fstree/fstree_from_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/fstree/fstree_from_file.c') diff --git a/lib/fstree/fstree_from_file.c b/lib/fstree/fstree_from_file.c index bf11755..d2f1c68 100644 --- a/lib/fstree/fstree_from_file.c +++ b/lib/fstree/fstree_from_file.c @@ -282,8 +282,8 @@ out_desc: int fstree_from_file(fstree_t *fs, const char *filename, FILE *fp) { size_t n, line_num = 0; - ssize_t ret; char *line; + int ret; for (;;) { line = NULL; -- cgit v1.2.3