From 3c38f0c889177dfac51fa7213c567a110709be71 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 5 Mar 2021 01:33:22 +0000 Subject: [PATCH] libfstools: fix build with glibc stropts.h which is unavailable under glibc (and not needed when building against glibc). Include it only if not building against glibc. Reported by: @DazzyWalkman Signed-off-by: Daniel Golle --- libfstools/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libfstools/common.h b/libfstools/common.h index 6798a54..eeb24db 100644 --- a/libfstools/common.h +++ b/libfstools/common.h @@ -11,7 +11,9 @@ #include #include #include +#ifndef __GLIBC__ #include +#endif #include #include #include -- 2.30.2