diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-09-23 21:09:17 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-09-23 21:09:17 +0200 |
commit | 0dd5bbaf3ab1288adec3fdf6b25bc09fb98b5e15 (patch) | |
tree | db1a04c234062575c8f5f0a4aec8c6da53ff77d1 /src/bitmap.h | |
parent | d51a86748a2826e5508451bfd3cc6fba14adc56f (diff) | |
download | AsciiMap-master.tar.gz |
Diffstat (limited to 'src/bitmap.h')
-rw-r--r-- | src/bitmap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bitmap.h b/src/bitmap.h index 9f8e312..c6cbd7b 100644 --- a/src/bitmap.h +++ b/src/bitmap.h @@ -10,6 +10,8 @@ #include <stdio.h> #include <stdlib.h> #include <math.h> +#include <string.h> +#include <errno.h> #include "dynalloc.h" @@ -36,8 +38,7 @@ #define BITMAP_MONOCHROME 0x01 -struct bitmap_file_header -{ +struct bitmap_file_header { uint8_t error; uint16_t bfType; @@ -57,8 +58,7 @@ struct bitmap_file_header uint32_t tablesc; }; -struct bitmap_image -{ +struct bitmap_image { unsigned int x,y; uint8_t **R; |