All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH dlm-tool] libdlm: add stdint.h to api header
@ 2021-02-11 21:46 Alexander Aring
  0 siblings, 0 replies; only message in thread
From: Alexander Aring @ 2021-02-11 21:46 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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



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

only message in thread, other threads:[~2021-02-11 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 21:46 [Cluster-devel] [PATCH dlm-tool] libdlm: add stdint.h to api header Alexander Aring

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.