diff --git a/src/ecosboard.c b/src/ecosboard.c index 5f6ba8f39..f398ae2a2 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 390eb0423..e595b1445 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