1.1 --- a/program.c Sat Dec 10 01:28:22 2022 +0100
1.2 +++ b/program.c Tue Dec 13 17:04:42 2022 +0100
1.3 @@ -198,10 +198,6 @@
1.4
1.5 if (server_fp != NULL)
1.6 {
1.7 - /* Write any includes for base interfaces. */
1.8 -
1.9 - write_server_includes(iface, server_fp);
1.10 -
1.11 /* Write the dispatcher and handler functions. */
1.12
1.13 write_functions(iface->signatures, server_fp, iface,
1.14 @@ -245,6 +241,10 @@
1.15 if (iface->tail == NULL)
1.16 write_include(iface->output_basename, "_interface.h", server_header_fp);
1.17
1.18 + /* Write any includes for base interfaces. */
1.19 +
1.20 + write_server_includes(iface, server_header_fp);
1.21 +
1.22 /* Emit signatures. */
1.23
1.24 write_signatures(iface->signatures, DECLARATION_ROLE, server_header_fp,