From d075d19a6b054a261209f8521936d040b1fed201 Mon Sep 17 00:00:00 2001
From: Daniel Willmann <daniel@totalueberwachung.de>
Date: Sat, 3 May 2014 03:41:59 +0200
Subject: [PATCH] Pack data structs

---
 src/common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common.h b/src/common.h
index cdb4d1d..2947c73 100644
--- a/src/common.h
+++ b/src/common.h
@@ -3,11 +3,11 @@
 struct pixel {
 	int x, y;
 	uint8_t bright;
-};
+} __attribute__((packed));
 
 struct packet {
 	uint8_t cmd;
 	union {
 		struct pixel pixel;
 	};
-};
+} __attribute__((packed));
-- 
GitLab