]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
mem: include headers for size_t and uint8_t
authorJan Palus <jpalus@fastmail.com>
Thu, 20 Nov 2025 17:51:59 +0000 (18:51 +0100)
committerJan Palus <jpalus@fastmail.com>
Thu, 20 Nov 2025 17:51:59 +0000 (18:51 +0100)
Fixes: #1764
Signed-off-by: Jan Palus <jpalus@fastmail.com>
lib/mem.h

index 8751cac582f0be00e205dbaef6d2ffa18637ebe0..b0e661e9424fd59ac0b83ae804a991af9accbde1 100644 (file)
--- a/lib/mem.h
+++ b/lib/mem.h
 #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>