projects
/
project
/
odhcp6c.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix alignment of buffers in ra_process and dhcpv6_request
[project/odhcp6c.git]
/
src
/
odhcp6c.h
diff --git
a/src/odhcp6c.h
b/src/odhcp6c.h
index 98d91dd1bb415eeb637cef789eea2a277095d510..08a816f4446dd893d89db315bf6f8932200ab2b8 100644
(file)
--- a/
src/odhcp6c.h
+++ b/
src/odhcp6c.h
@@
-18,6
+18,7
@@
#define _unused __attribute__((unused))
#define _packed __attribute__((packed))
+#define __aligned(n) __attribute__((aligned(n)))
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))