diff --git a/bacnet-stack/src/bacstr.c b/bacnet-stack/src/bacstr.c index ab11bda3..0aade918 100644 --- a/bacnet-stack/src/bacstr.c +++ b/bacnet-stack/src/bacstr.c @@ -35,13 +35,13 @@ #include #include #include /* for strlen */ -#ifdef PRINT_ENABLED -#include /* for strtol */ -#include /* for isalnum */ -#endif #include "config.h" #include "bacstr.h" #include "bits.h" +#if PRINT_ENABLED +#include /* for strtol */ +#include /* for isalnum */ +#endif /** @file bacstr.c Manipulate Bit/Char/Octet Strings */ @@ -645,7 +645,7 @@ bool octetstring_init( return status; } -#ifdef PRINT_ENABLED +#if PRINT_ENABLED /* converts an null terminated ASCII Hex string to an octet string. returns true if successfully converted and fits; false if too long */ bool octetstring_init_ascii_hex(