John Scott wrote: > gllib/unistd.h:621:3: error: #error "Please include config.h first." > 621 | #error "Please include config.h first." > | ^~~~~ > > I'm not using Autotools for my project, so I don't get why I should include > config.h.
This is explained in <https://www.gnu.org/software/gnulib/manual/html_node/Source-changes.html>. > If I do that anyway, and I pass -lws2_32 to gcc as hinted by > configure, my program works under Wine! Having to guesstimate that linker > flag > may be a little less clean than I'd hoped, but it's great that it works. I tried to explain, in the preceding mail, how you can handle the link dependencies in a systematic manner. Bruno