diff --git a/src/io_backend/io_backend.c b/src/io_backend/io_backend.c index c6cebdc..eef080a 100644 --- a/src/io_backend/io_backend.c +++ b/src/io_backend/io_backend.c @@ -125,7 +125,7 @@ int iob_config_from_args(struct args_options *args, struct iob_context *ctx) break; default: - return -1; + return IOB_ERROR_GENERIC; } return 0; -} \ No newline at end of file +} diff --git a/src/io_backend/io_backend.h b/src/io_backend/io_backend.h index 39e6d2e..7b9e9b2 100644 --- a/src/io_backend/io_backend.h +++ b/src/io_backend/io_backend.h @@ -2,6 +2,7 @@ #define IO_BACKEND_H #include +#include "utils/args/args.h" // Error codes #define IOB_ERROR_GENERIC -1