From e3f9e5a246ccd2d6cecb649a12c223ddd38a37f0 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Thu, 27 Mar 2025 10:47:28 -0700 Subject: [PATCH] Trying #include all the time, too It was specifically NOT being done under Haiku (which Luc notes caused a "implicit declaration of function" warning), BeOS (moot?), macOS (__APPLE__)[*], and Android[*]. [*] I've asked Mark & Pere to check that macOS & Android builds are still happy. See tuxpaint-maintainers thread https://sourceforge.net/p/tuxpaint/mailman/tuxpaint-maintainers/thread/Z-O0V3aa6joXl6zl%40bill-t480s/#msg59165314 --- src/tuxpaint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 34de3bc39..8eb89fbef 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -277,6 +277,7 @@ char *strcasestr(const char *haystack, const char *needle) #endif #include +#include #if defined __BEOS__ || defined __HAIKU__ || defined __APPLE__ || defined __ANDROID__ #include @@ -284,8 +285,6 @@ char *strcasestr(const char *haystack, const char *needle) #define FALSE false #define TRUE true #endif -#else -#include #endif #include