glibc/glibc-rh1817513-68.patch

23 lines
630 B
Diff
Raw Normal View History

commit 2034c70e64b31e48140c8e31c5ae839af5ccb6eb
Author: Florian Weimer <fweimer@redhat.com>
Date: Thu Jun 25 16:51:03 2020 +0200
elf: Include <stddef.h> (for size_t), <sys/stat.h> in <ldconfig.h>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
diff --git a/sysdeps/generic/ldconfig.h b/sysdeps/generic/ldconfig.h
index 59e20dc3ef790125..6774212110d23eae 100644
--- a/sysdeps/generic/ldconfig.h
+++ b/sysdeps/generic/ldconfig.h
@@ -19,7 +19,9 @@
#ifndef _LDCONFIG_H
#define _LDCONFIG_H
+#include <stddef.h>
#include <stdint.h>
+#include <sys/stat.h>
#define FLAG_ANY -1
#define FLAG_TYPE_MASK 0x00ff