From fcfd6c4d7ca3cc8d2751652a79a08d64eb8ec5a3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 21 Jul 2012 14:56:21 +0000 Subject: FreeModBus is now integrated with the Nuttx configuration system git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4961 42af7a65-404d-4744-a932-0658087f49c3 --- apps/modbus/tcp/mbtcp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/modbus/tcp') 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 +#include +#include /* ----------------------- 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 ------------------------------------------*/ -- cgit v1.2.3