From ee87f5ee4aa1c79d1dedf95994a392282aa4bd16 Mon Sep 17 00:00:00 2001
From: JozanLeClerc <bousset.rudy@gmail.com>
Date: Mon, 2 Mar 2020 02:29:21 +0100
Subject: Music is bav but can't kill

---
 inc/cub3d_structs.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'inc')

diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 2026a27..0ad986c 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -15,6 +15,7 @@
 
 #include <stddef.h>
 #include <stdint.h>
+#include <pthread.h>
 
 typedef struct		s_win
 {
@@ -138,6 +139,7 @@ typedef struct		s_cub
 	uint16_t		i;
 	char			errmsg[64];
 	int32_t			key_input[5];
+	pthread_t		tid;
 	int				(*key_ptr[6])(struct s_cub*);
 	int8_t			(*get_ptr[11])(char**, struct s_cub*);
 	struct s_win	*wlist;
-- 
cgit v1.2.3