diff --git a/src/utils/ast/ast_command.c b/src/utils/ast/ast_command.c index 3865e0e..7e192ca 100644 --- a/src/utils/ast/ast_command.c +++ b/src/utils/ast/ast_command.c @@ -4,9 +4,10 @@ #include #include "../lists/lists.h" +#include "ast_list.h" struct ast *ast_create_command(struct list *command, struct list *redirections, - struct ast_list *assignments) + struct list *assignments) { struct ast_command *command_data = malloc(sizeof(struct ast_command)); if (!command_data) diff --git a/src/utils/ast/ast_command.h b/src/utils/ast/ast_command.h index 75c8b2e..7b24a2d 100644 --- a/src/utils/ast/ast_command.h +++ b/src/utils/ast/ast_command.h @@ -7,7 +7,7 @@ struct ast_command { struct list *command; // A list of words (char*) - struct ast_list *redirections; // A list of ASTs, all ast_redir + struct list *redirections; // A list of ASTs, all ast_redir struct list *assignments; // A list of ASTs, all ast_assignment };