Ben Pfaff wrote: > > close.c:30:21: w32sock.h: No such file or directory > [...] > > The file w32sock.h should be supplied by the pspp package, or by mingw? > > By gnulib. It looks like the "close" module has a missing > dependency on lib/w32sock.h.
Yes. I can reproduce it through "./gnulib-tool --create-testdir close sys_socket" and cross-compilation for mingw. > The following might be the correct fix: > > diff --git a/modules/close b/modules/close > index e526487..bb852d4 100644 > --- a/modules/close > +++ b/modules/close > @@ -3,6 +3,7 @@ close() function: close a file or socket. > > Files: > lib/close.c > +lib/w32sock.h > m4/close.m4 > > Depends-on: Correct. You are welcome to apply this. Bruno