1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
From e080003be3bf1fdcd65f8055a185dfe54dfb25b3 Mon Sep 17 00:00:00 2001
From: Jan Palus <jpalus@fastmail.com>
Date: Thu, 20 Nov 2025 18:51:59 +0100
Subject: [PATCH] mem: include headers for size_t and uint8_t
Fixes: #1764
Signed-off-by: Jan Palus <jpalus@fastmail.com>
---
lib/mem.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/mem.h b/lib/mem.h
index 8751cac582..b0e661e942 100644
--- a/lib/mem.h
+++ b/lib/mem.h
@@ -19,15 +19,20 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>
*
*/
#ifndef GNUTLS_LIB_MEM_H
#define GNUTLS_LIB_MEM_H
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
+#include <stddef.h>
+#include <stdint.h>
#ifdef HAVE_SANITIZER_ASAN_INTERFACE_H
#include <sanitizer/asan_interface.h>
#endif
#ifdef HAVE_VALGRIND_MEMCHECK_H
#include <valgrind/memcheck.h>
--
2.51.0
|