uapi: fix linux/dlm_netlink.h userspace compilation error
PATCH 1/1 uapi: fix linux/dlm_netlink.h userspace compilation error
Include <linux/dlmconstants.h> to fix the following linux/dlm_netlink.h userspace compilation error:
/usr/include/linux/dlm_netlink.h:35:21: error: 'DLM_RESNAME_MAXLEN' undeclared here (not in a function)
char resource_name[DLM_RESNAME_MAXLEN];
Signed-off-by Dmitry V. Levin <[email protected]>
--- include/uapi/linux/dlm_netlink.h | 1 + 1 file changed, 1 insertion(+)
include/uapi/linux/dlm_netlink.h +1 -0
@@ -10,6 +10,7 @@#define _DLM_NETLINK_H#include <linux/types.h> +#include <linux/dlmconstants.h> /* For DLM_RESNAME_MAXLEN. */ enum {DLM_STATUS_WAITING =1 ,
Signature · 1 line
ldv