include/scotch.h uses int64_t without including sys/types.h, and uses FILE without including stdio.h
As a result the freefem++ project fails to detect scotch, like I reported here.
Additionally, the FILE structure is also used without including "stdio.h":
In file included from conftest.cpp:60:
/usr/local/include/scotch.h:151:71: error: unknown type name 'FILE'
int SCOTCH_archLoad (SCOTCH_Arch * const, FILE * const);
scotch-6.0.4.a7_4
FreeBSD 13.2