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