File bug-1191734_0001-libdlm-add-stdint.h-to-api-header.patch of Package libdlm

From 2baadda85cdc3d5d1e247732b736dc4897ac1556 Mon Sep 17 00:00:00 2001
From: Alexander Aring <aahringo@redhat.com>
Date: Thu, 11 Feb 2021 16:40:11 -0500
Subject: [PATCH 01/14] 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(+)

diff --git a/libdlm/libdlm.h b/libdlm/libdlm.h
index d025ef8cf0f0..9255181cdb6f 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.33.0

openSUSE Build Service is sponsored by