All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] uapi: fix linux/dlm_netlink.h userspace compilation error
@ 2017-02-15 20:04 Dmitry V. Levin
  0 siblings, 0 replies; only message in thread
From: Dmitry V. Levin @ 2017-02-15 20:04 UTC (permalink / raw)
  To: David Teigland; +Cc: linux-kernel

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 <ldv@altlinux.org>
---
 include/uapi/linux/dlm_netlink.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/dlm_netlink.h b/include/uapi/linux/dlm_netlink.h
index 647c8ef..ad60964 100644
--- a/include/uapi/linux/dlm_netlink.h
+++ b/include/uapi/linux/dlm_netlink.h
@@ -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,
-- 
ldv

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-15 20:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 20:04 [PATCH] uapi: fix linux/dlm_netlink.h userspace compilation error Dmitry V. Levin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.