diff options
Diffstat (limited to 'apps/modbus/tcp/mbtcp.c')
-rw-r--r-- | apps/modbus/tcp/mbtcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/modbus/tcp/mbtcp.c b/apps/modbus/tcp/mbtcp.c index fb06144ae..a666c17a5 100644 --- a/apps/modbus/tcp/mbtcp.c +++ b/apps/modbus/tcp/mbtcp.c @@ -29,20 +29,20 @@ */ /* ----------------------- System includes ----------------------------------*/ -#include "stdlib.h" -#include "string.h" +#include <nuttx/config.h> +#include <stdlib.h> +#include <string.h> /* ----------------------- Platform includes --------------------------------*/ #include "port.h" /* ----------------------- Modbus includes ----------------------------------*/ #include "mb.h" -#include "mbconfig.h" #include "mbtcp.h" #include "mbframe.h" #include "mbport.h" -#if MB_TCP_ENABLED > 0 +#ifdef CONFIG_MB_TCP_ENABLED /* ----------------------- Defines ------------------------------------------*/ |