On OSX build fails with fatal error: 'windows.h' file not found
svetlyak40wt opened this issue · comments
Tryied with commit aa714a2.
OSX version 11.6.4.
make install
depbase=`echo arch.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -g -O2 -O3 -I/usr/incldue -I/usr/local/include -MT arch.o -MD -MP -MF $depbase.Tpo -c -o arch.o src/arch.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from src/arch.c:3:
src/arch.h:26:10: fatal error: 'windows.h' file not found
#include <windows.h>
^~~~~~~~~~~
1 error generated.
make: *** [arch.o] Error 1
Also, seems there is a typo in -I/usr/incldue
.