aboutsummaryrefslogtreecommitdiff
path: root/src/bitmap.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-09-23 21:09:17 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-09-23 21:09:17 +0200
commit0dd5bbaf3ab1288adec3fdf6b25bc09fb98b5e15 (patch)
treedb1a04c234062575c8f5f0a4aec8c6da53ff77d1 /src/bitmap.h
parentd51a86748a2826e5508451bfd3cc6fba14adc56f (diff)
downloadAsciiMap-master.tar.gz
formatting / code styleHEADmaster
Diffstat (limited to 'src/bitmap.h')
-rw-r--r--src/bitmap.h8
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;