]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Add missing <stddef.h> header to elf/dl-hwcaps.h
authorMatheus Castanho <msc@linux.ibm.com>
Fri, 4 Dec 2020 12:48:56 +0000 (09:48 -0300)
committerMatheus Castanho <msc@linux.ibm.com>
Fri, 4 Dec 2020 12:52:02 +0000 (09:52 -0300)
The lack of this header makes size_t unavailable on builds configured
with --disable-tunables, causing compilation errors.

elf/dl-hwcaps.h

index e6fcac6edcbb6743d5ac412d7b4dca7fcc3a488a..147dc3d2a8bef9b37f96b958dbf249de86a97c40 100644 (file)
@@ -20,6 +20,7 @@
 #define _DL_HWCAPS_H
 
 #include <stdint.h>
+#include <stddef.h>
 
 #include <elf/dl-tunables.h>