aboutsummaryrefslogtreecommitdiff
path: root/include/spm.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-04-19 16:31:45 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-04-19 16:31:45 -0400
commit6d04ff98c4bfc21ad3fa779237a16ba760080fac (patch)
treee5cdaf218d7fc563899eb44292225fca7f051363 /include/spm.h
parent57c9489b28a481abc078ad3a2dd197079f9c414b (diff)
downloadspmc-6d04ff98c4bfc21ad3fa779237a16ba760080fac.tar.gz
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()
Diffstat (limited to 'include/spm.h')
-rw-r--r--include/spm.h4
1 files changed, 2 insertions, 2 deletions
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 <utime.h>
#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;