Skip to contentSkip to conversation

libdlm: add stdint.h to api header

PATCH New Alexander Aring 1 participant 1 message Feb 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libdlm: add stdint.h to api header

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(+)
libdlm/libdlm.h +2 -0
index d025ef8c..9255181c 100644
@@ -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
Signature · 1 line
2.26.2