From 218be33ceb42dcb85b0d080aa73ad8eabc3c945e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 11 Jun 2024 13:29:53 +0200 Subject: [PATCH] selective include --- src/include/options-generator.c | 4 ++-- src/mhd2/daemon_set_options.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/include/options-generator.c b/src/include/options-generator.c index 93b157e1..becacb57 100644 --- a/src/include/options-generator.c +++ b/src/include/options-generator.c @@ -1000,8 +1000,7 @@ TOP: "#include \"sys_base_types.h\"\n" "#include \"sys_malloc.h\"\n" "#include \n" - "#include \"mhd_daemon.h\"\n" - "#include \"mhd_response.h\"\n" + "#include \"mhd_%s.h\"\n" "#include \"%s_options.h\"\n" "#include \"mhd_public_api.h\"\n" "\n" @@ -1016,6 +1015,7 @@ TOP: category, category, category, + category, capitalize (category), category, capitalize (category)); diff --git a/src/mhd2/daemon_set_options.c b/src/mhd2/daemon_set_options.c index abe41e6f..ec313aab 100644 --- a/src/mhd2/daemon_set_options.c +++ b/src/mhd2/daemon_set_options.c @@ -11,7 +11,6 @@ #include "sys_malloc.h" #include #include "mhd_daemon.h" -#include "mhd_response.h" #include "daemon_options.h" #include "mhd_public_api.h"