Karl Berry wrote: > gnulib-tool says you "may" need to include: > #include <getopt.h> > #include <stdbool.h> > #include <unistd.h> > #include "__fpending.h" > #include "close-stream.h" > #include "closeout.h" > #include "error.h" > #include "exit.h" > #include "exitfail.h" > #include "gettext.h" > #include "quotearg.h" > #include "xalloc.h" > > But my system.h only has: > #include <getopt.h> > #include <unistd.h> > #include "gettext.h" > #include "closeout.h" > (and a few other ANSI headers). > > And there have been no complaints.
You're right, that's because of the recursive traversal of the module dependencies. > Would it be reasonable/possible to have gnulib-tool output only the > top-level #includes? I agree. Bruno