macro: add NLMSG_ERROR

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-08-11 02:21:14 +02:00
parent d851c59308
commit 4e3ed0d196
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D
2 changed files with 4 additions and 3 deletions

View File

@ -187,4 +187,8 @@ extern int __build_bug_on_failed;
#define RTM_NEWNSID 88
#endif
#ifndef NLMSG_ERROR
#define NLMSG_ERROR 0x2
#endif
#endif /* __LXC_MACRO_H */

View File

@ -237,9 +237,6 @@ extern int netlink_send(struct nl_handler *handler, struct nlmsg *nlmsg)
return ret;
}
#ifndef NLMSG_ERROR
#define NLMSG_ERROR 0x2
#endif
extern int netlink_transaction(struct nl_handler *handler,
struct nlmsg *request, struct nlmsg *answer)
{