]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
hashfunc: add stddef.h include
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 7 Apr 2025 11:29:36 +0000 (13:29 +0200)
committerMatt Caswell <matt@openssl.org>
Tue, 15 Apr 2025 14:29:06 +0000 (15:29 +0100)
size_t is declared in stddef.h, so include the header file to
make sure it is available.  Fixes build on UEFI.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27284)

(cherry picked from commit 44e9c5a3edd199ed7d7fe427fe0e1ef76dc52663)

include/internal/hashfunc.h

index cabc7beed4a78cb631e617da0091627dec983220..fae8a275fa2e3ed73e292a29c9c600282c99f067 100644 (file)
@@ -11,6 +11,7 @@
 # define OPENSSL_HASHFUNC_H
 
 # include <openssl/e_os2.h>
+# include <stddef.h>
 /**
  * Generalized fnv1a 64 bit hash function
  */