[Cluster-devel] [PATCH dlm-tool] libdlm: add stdint.h to api header

Alexander Aring aahringo at redhat.com
Thu Feb 11 21:46:13 UTC 2021


This patch adds a include of stdint.h to the libdlm api header,
otherwise application linking to it need to be sure to include the stdint
header before libdlm header as a workaround.
---
 libdlm/libdlm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libdlm/libdlm.h b/libdlm/libdlm.h
index d025ef8c..9255181c 100644
--- a/libdlm/libdlm.h
+++ b/libdlm/libdlm.h
@@ -10,6 +10,8 @@
 #ifndef __LIBDLM_H
 #define __LIBDLM_H
 
+#include <stdint.h>
+
 /*
  * Typedefs for things that are compatible with the kernel but replicated here
  * so that users only need the libdlm include file.  libdlm itself needs the
-- 
2.26.2




More information about the Cluster-devel mailing list