uapi linux/dlm_netlink.h: include linux/dlmconstants.h
authorMikko Rapeli <mikko.rapeli@iki.fi>
Sun, 6 Aug 2017 16:44:07 +0000 (18:44 +0200)
committerDavid Teigland <teigland@redhat.com>
Mon, 7 Aug 2017 16:23:09 +0000 (11:23 -0500)
Fixes userspace compilation error:

error: ‘DLM_RESNAME_MAXLEN’ undeclared here (not in a function)
  char resource_name[DLM_RESNAME_MAXLEN];

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: David Teigland <teigland@redhat.com>
include/uapi/linux/dlm_netlink.h

index 647c8ef2722795bdc8bd4f4074799ab80e0a02b2..ef1e2e08769a0ad35ee7072b4d7866858794ba80 100644 (file)
@@ -10,6 +10,7 @@
 #define _DLM_NETLINK_H
 
 #include <linux/types.h>
+#include <linux/dlmconstants.h>
 
 enum {
        DLM_STATUS_WAITING = 1,