diff --git a/src/libnm-std-aux/nm-std-aux.h b/src/libnm-std-aux/nm-std-aux.h index 49ec8aab0c..5bcb311d3a 100644 --- a/src/libnm-std-aux/nm-std-aux.h +++ b/src/libnm-std-aux/nm-std-aux.h @@ -24,6 +24,7 @@ #define _nm_section(s) __attribute__((__section__(s))) #define _nm_alignof(type) __alignof(type) #define _nm_alignas(type) _nm_align(_nm_alignof(type)) +#define _nm_deprecated(msg) __attribute__((__deprecated__(msg))) #define nm_auto(fcn) __attribute__((__cleanup__(fcn))) /* This is required to make LTO working.