#include <libft.h> #include <cub3d.h> #include <unistd.h> int ft_map_error(unsigned int linum, t_win *wlist) { ft_dprintf(STDERR_FILENO, "Error\n"); ft_dprintf(STDERR_FILENO, "\033[1;31mMap error: line %d\033[0m\n", linum); return (ft_exit(1, wlist)); }