From dda225b7b3a0fb1919abf2d7b8a90f6815706d86 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 11 May 2009 07:26:11 +0000 Subject: [PATCH] leave eCos include file issues alone for now. git-svn-id: svn://svn.berlios.de/openocd/trunk@1723 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/ecosboard.c | 58 +++++++++++++++++++++++++++++---------------- src/helper/ioutil.c | 2 ++ 2 files changed, 39 insertions(+), 21 deletions(-) diff --git a/src/ecosboard.c b/src/ecosboard.c index 5f6ba8f3..f398ae2a 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -21,53 +21,69 @@ #include "config.h" #endif -#include "configuration.h" -#include "time_support.h" - +#include "log.h" +#include "types.h" #include "jtag.h" +#include "configuration.h" #include "xsvf.h" #include "svf.h" #include "target.h" #include "flash.h" #include "nand.h" #include "pld.h" -#include "rom.h" +#include "command.h" #include "server.h" #include "telnet_server.h" #include "gdb_server.h" +#include +#include +#include +#include +#include +#include +#include +#include + +#include #include // Address of JFFS2 #include -#include -#include -#include -#include -#include -#include -#include +#include #include - +#include +#include #include #include #include #include #include #include -#include #include -#include +#include #include #include -#include - -#ifdef HAVE_IFADDRS_H +#include +#include "rom.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include -#endif -#ifdef HAVE_STRINGS_H -#include -#endif +#include + +#include +#include + #define MAX_IFS 64 #if defined(CYGPKG_NET_FREEBSD_STACK) diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c index 390eb042..e595b144 100644 --- a/src/helper/ioutil.c +++ b/src/helper/ioutil.c @@ -51,8 +51,10 @@ #include #endif #ifdef HAVE_MALLOC_H +#if !BUILD_ECOSBOARD #include #endif +#endif //#ifdef HAVE_STRINGS_H //#include //#endif -- 2.39.5