Skip to content

Commit

Permalink
[chip-tool] include crypto/CryptoBuildConfig.h must be guarded by CHI…
Browse files Browse the repository at this point in the history
…P_HAVE_CONFIG_H (#37366)

* [chip-tool] include crypto/CryptoBuildConfig.h must be guarded by CHIP_HAVE_CONFIG_H

Minor fix to unguarded  include.

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
soares-sergio and restyled-commits authored Feb 4, 2025
1 parent f957643 commit e490944
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/chip-tool/commands/dcl/HTTPSRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

#include "HTTPSRequest.h"

#if CHIP_HAVE_CONFIG_H
#include <crypto/CryptoBuildConfig.h>
#endif // CHIP_HAVE_CONFIG_H

#include <lib/support/Base64.h>
#include <lib/support/SafeInt.h>
#include <lib/support/ScopedBuffer.h>
Expand Down

0 comments on commit e490944

Please sign in to comment.