diff options
-rw-r--r-- | src/odhcp6c.h | 2 | ||||
-rw-r--r-- | src/ra.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/odhcp6c.h b/src/odhcp6c.h index 08a816f..5ebea29 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -18,7 +18,7 @@ #define _unused __attribute__((unused)) #define _packed __attribute__((packed)) -#define __aligned(n) __attribute__((aligned(n))) +#define _aligned(n) __attribute__((aligned(n))) #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) @@ -274,7 +274,7 @@ bool ra_process(void) { bool found = false; bool changed = false; - uint8_t buf[1500] __aligned(4); + uint8_t buf[1500] _aligned(4); union { struct cmsghdr hdr; uint8_t buf[CMSG_SPACE(sizeof(int))]; |