calma: fix linux build?

This commit is contained in:
Johan Euphrosine 2023-07-12 04:53:07 +09:00
parent f5793bbefb
commit eb9dcbcd01
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
#include <netinet/in.h>
/*
* 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"