summaryrefslogtreecommitdiff
path: root/apps/recorder/bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r--apps/recorder/bmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 28291b9302..ab354f6738 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -28,11 +28,15 @@
28#include <stdlib.h> 28#include <stdlib.h>
29#include <string.h> 29#include <string.h>
30#include <stdbool.h> 30#include <stdbool.h>
31#include "debug.h"
31 32
32#include "file.h" 33#include "file.h"
33 34
34#ifdef __GNUC__ 35#ifdef __GNUC__
35#define STRUCT_PACKED __attribute__((packed)) 36#define STRUCT_PACKED __attribute__((packed))
37#else
38#define STRUCT_PACKED
39#pragma pack (push, 2)
36#endif 40#endif
37 41
38struct Fileheader 42struct Fileheader