From 6d04ff98c4bfc21ad3fa779237a16ba760080fac Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 19 Apr 2020 16:31:45 -0400 Subject: Better reporting when a package does not exist * Add additional errors * Fix user_input function missing an error return value * spmbuild sources a temporary file instead of output from a sub-shell * Fix indentation problem * A reason can be attached to spmerrno using spmerrno_cause() --- include/spm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/spm.h') diff --git a/include/spm.h b/include/spm.h index b96554a..f9b2201 100644 --- a/include/spm.h +++ b/include/spm.h @@ -27,6 +27,8 @@ #include #endif +#include "conf.h" +extern spm_vars SPM_GLOBAL; #include "compat.h" #include "error_handler.h" #include "package.h" @@ -44,7 +46,6 @@ #include "resolve.h" #include "shell.h" #include "relocation.h" -#include "conf.h" #include "archive.h" #include "find.h" #include "rpath.h" @@ -96,7 +97,6 @@ _1________________________________________________" // GLOBALS -spm_vars SPM_GLOBAL; #ifdef __APPLE__ extern char **environ; -- cgit