aboutsummaryrefslogtreecommitdiff
path: root/src/bitmap.h
diff options
context:
space:
mode:
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;