diff --git a/src/config/config.c b/src/config/config.c index c32bcee88..187244b14 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -270,9 +270,6 @@ REQUIRE_OBJECT ( shell ); #ifdef NSLOOKUP_CMD REQUIRE_OBJECT ( nslookup_cmd ); #endif -#ifdef PCI_CMD -REQUIRE_OBJECT ( pci_cmd ); -#endif #ifdef PARAM_CMD REQUIRE_OBJECT ( param_cmd ); #endif diff --git a/src/config/config_pci.c b/src/config/config_pci.c index c6c9b92a5..dc5073ef6 100644 --- a/src/config/config_pci.c +++ b/src/config/config_pci.c @@ -22,6 +22,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); FILE_SECBOOT ( PERMITTED ); +#include #include #include @@ -33,6 +34,9 @@ FILE_SECBOOT ( PERMITTED ); PROVIDE_REQUIRING_SYMBOL(); +#ifdef PCI_CMD +REQUIRE_OBJECT ( pci_cmd ); +#endif #ifdef PCI_SETTINGS REQUIRE_OBJECT ( pci_settings ); #endif