mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
usb_drv: Add missing definition of __aligned macro
This macro is implicitly pulled in by libc-setjmp (via the libc's cdefs.h). However, apparently not all sources include <setjmp.h>. Unfortunately, for sources that do, this change produces a double-definition warning. We should fix it by removing the dependency from the libc's setjmp.
This commit is contained in:
parent
e49bb4943e
commit
075c32409a
@ -181,6 +181,8 @@ typedef struct { __u8 b[16]; } uuid_le;
|
||||
|
||||
#include <lx_emul/byteorder.h>
|
||||
|
||||
#define __aligned(N) __attribute__((aligned(N)))
|
||||
|
||||
struct __una_u16 { u16 x; } __attribute__((packed));
|
||||
struct __una_u32 { u32 x; } __attribute__((packed));
|
||||
struct __una_u64 { u64 x; } __attribute__((packed));
|
||||
|
Loading…
Reference in New Issue
Block a user