Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1581620 > unrolled thread
| Started by | "Dmitry V. Levin" <ldv@altlinux.org> |
|---|---|
| First post | 2017-02-15 21:10 +0100 |
| Last post | 2017-02-15 21:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH] uapi: fix linux/dlm_netlink.h userspace compilation error "Dmitry V. Levin" <ldv@altlinux.org> - 2017-02-15 21:10 +0100
| From | "Dmitry V. Levin" <ldv@altlinux.org> |
|---|---|
| Date | 2017-02-15 21:10 +0100 |
| Subject | [PATCH] uapi: fix linux/dlm_netlink.h userspace compilation error |
| Message-ID | <tbe3L-4vL-7@gated-at.bofh.it> |
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
Back to top | Article view | linux.kernel
csiph-web