From: Konstantin Ryabitsev Date: Mon, 18 Sep 2023 18:06:35 +0000 (-0400) Subject: Fix compilation on older platforms X-Git-Tag: RELEASE_1_4_0rc1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5%2Fhead;p=thirdparty%2Fmlmmj.git Fix compilation on older platforms When attempting to compile on older platforms (e.g. CentOS 7), there is a failure due to the wrong stat.h being included via dependencies. This makes sure that it finds sys/stat.h first. --- diff --git a/src/send_help.c b/src/send_help.c index c9e3fd59..cf47ccf5 100644 --- a/src/send_help.c +++ b/src/send_help.c @@ -21,6 +21,7 @@ * IN THE SOFTWARE. */ +#include #include #include "mlmmj.h"