diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 10:07:16 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-05-20 10:11:29 -0400 |
commit | 67975a5944706e382fe1e7b00d226715c6242358 (patch) | |
tree | e93dd37df57f49d4327567479521014f380206e5 /include/omc.h | |
parent | 30c9945e0da19305ebad88a2835653ff4f409313 (diff) | |
download | stasis-67975a5944706e382fe1e7b00d226715c6242358.tar.gz |
Mass attempt at windows portability
Diffstat (limited to 'include/omc.h')
-rw-r--r-- | include/omc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/omc.h b/include/omc.h index a116296..c5b3f30 100644 --- a/include/omc.h +++ b/include/omc.h @@ -8,37 +8,37 @@ #include <limits.h> #include <unistd.h> #include <time.h> -#include <sys/statvfs.h> +#include "config.h" #define SYSERROR(MSG, ...) do { \ fprintf(stderr, "%s:%s:%d:%s - ", path_basename(__FILE__), __FUNCTION__, __LINE__, strerror(errno) ? "info" : strerror(errno)); \ fprintf(stderr, MSG LINE_SEP, __VA_ARGS__); \ } while (0) + #define OMC_BUFSIZ 8192 #define OMC_NAME_MAX 255 #define OMC_DIRSTACK_MAX 1024 #define OMC_TIME_STR_MAX 128 #define HTTP_ERROR(X) X >= 400 -#include "config.h" #include "template.h" +#include "strlist.h" +#include "str.h" +#include "environment.h" #include "utils.h" #include "copy.h" #include "ini.h" #include "conda.h" -#include "environment.h" #include "artifactory.h" #include "docker.h" -#include "deliverable.h" -#include "str.h" -#include "strlist.h" #include "system.h" #include "download.h" #include "recipe.h" #include "relocation.h" #include "wheel.h" #include "junitxml.h" +#include "deliverable.h" #define guard_runtime_free(X) do { if (X) { runtime_free(X); X = NULL; } } while (0) #define guard_strlist_free(X) do { if ((*X)) { strlist_free(X); (*X) = NULL; } } while (0) |