From eb9dcbcd01da3f546cc84cf5abf7ab4dc6882ad7 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Wed, 12 Jul 2023 04:53:07 +0900 Subject: [PATCH] calma: fix linux build? --- calma/CalmaRead.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/calma/CalmaRead.c b/calma/CalmaRead.c index 04d414d2..065f208e 100644 --- a/calma/CalmaRead.c +++ b/calma/CalmaRead.c @@ -28,6 +28,12 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/ #include +/* + * C99 compat + * Mind: tcltk/tclmagic.h must be included prior to all the other headers + */ +#include "tcltk/tclmagic.h" + #include "utils/magic.h" #include "utils/geometry.h" #include "tiles/tile.h"