common_macros: Include sys/cdefs.h, defines _Static_assert among others
This commit is contained in:
parent
1c8017484c
commit
6c06e5e91e
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
||||||
#ifndef _COMMON_MACROS_H
|
#ifndef _COMMON_MACROS_H
|
||||||
#define _COMMON_MACROS_H
|
#define _COMMON_MACROS_H
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
#define UNUSED __attributed((unused))
|
#define UNUSED __attributed((unused))
|
||||||
|
|
||||||
#ifndef BIT
|
#ifndef BIT
|
||||||
|
|
Loading…
Reference in a new issue