commit d5263d536ac10cdd09c8151f094981b092508720
parent ebc14f5e06ccfa0179e4b93b79536e3b2b135a4b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 14 Aug 2025 17:29:05 +0200
Fix the header file for programmable properties
The inclusion of limits.h was missing in order to use the UINT_MAX
constant.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/stardis-prog-properties.h.in b/src/stardis-prog-properties.h.in
@@ -25,7 +25,8 @@
/* The version of the API described thereafter */
#define STARDIS_PROG_PROPERTIES_VERSION @STARDIS_PROG_PROPERTIES_VERSION@
-#include <stddef.h>
+#include <limits.h> /* UINT_MAX */
+#include <stddef.h> /* size_t */
#if defined(__GNUC__)
#define STARDIS_API extern __attribute__((visibility("default")))