--- mono/utils/mono-state.c 2019-01-18 10:59:39.355034555 +0100 +++ mono/utils/mono-state.c 2019-01-18 11:00:48.212036254 +0100 @@ -33,7 +33,9 @@ #endif #include +#if defined(__GLIBC__) #include +#endif #include typedef struct {