Good morning,

Some work is happening towards the 1.1 release of the Sortix OS.
When I build GNU ed 1.21 with GCC 14 on Sortix I get a failure because the 
header file sys/file.h is missing.
The only file referencing  sys/file.h is buffer.c.
It appears that buffer.c doesn't need this header.
When I remove the #include the build completes successfully with no warnings.
Also, there were no warnings when applying this change on Linux and building 
with GCC 12.


Regards,
Michael




% cd ed-1.12
% printf "/file\.h/d\nwq\n" | ed buffer.c
% ./configure && make

Reply via email to