aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d_structs.h')
-rw-r--r--inc/cub3d_structs.h2
1 files changed, 2 insertions, 0 deletions
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;