# HG changeset patch # User bartv # Date 1045174923 0 # Node ID e25c7433fc555901b8f5d9f4e06a42ed3d782407 # Parent edfa9000e66dcedf6a21961fec3286f7e0993679 Make syntheth compatible with lwip diff --git a/packages/devs/eth/synth/ecosynth/current/ChangeLog b/packages/devs/eth/synth/ecosynth/current/ChangeLog --- a/packages/devs/eth/synth/ecosynth/current/ChangeLog +++ b/packages/devs/eth/synth/ecosynth/current/ChangeLog @@ -1,3 +1,8 @@ +2003-02-13 Bart Veer + + * src/syntheth.c, cdl/syntheth.cdl: add dependency on errno.h for + error codes, and avoid memset() warning + 2003-02-12 Bart Veer * host/Makefile.in, host/configure: diff --git a/packages/devs/eth/synth/ecosynth/current/cdl/syntheth.cdl b/packages/devs/eth/synth/ecosynth/current/cdl/syntheth.cdl --- a/packages/devs/eth/synth/ecosynth/current/cdl/syntheth.cdl +++ b/packages/devs/eth/synth/ecosynth/current/cdl/syntheth.cdl @@ -8,7 +8,7 @@ #####ECOSGPLCOPYRIGHTBEGIN#### ## ------------------------------------------- ## This file is part of eCos, the Embedded Configurable Operating System. -## Copyright (C) 2002 Bart Veer +## Copyright (C) 2002, 2003 Bart Veer ## ## eCos is free software; you can redistribute it and/or modify it under ## the terms of the GNU General Public License as published by the Free @@ -114,6 +114,7 @@ cdl_package CYGPKG_DEVS_ETH_ECOSYNTH { active_if { CYGVAR_DEVS_ETH_ECOSYNTH_ETH0 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH1 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH2 || CYGVAR_DEVS_ETH_ECOSYNTH_ETH3 } flavor none compile -library=libextras.a syntheth.c + requires CYGINT_ISO_ERRNO_CODES CYGINT_ISO_STRING_MEMFUNCS description " Package-specific build options including control over compiler flags used only in building this package." diff --git a/packages/devs/eth/synth/ecosynth/current/src/syntheth.c b/packages/devs/eth/synth/ecosynth/current/src/syntheth.c --- a/packages/devs/eth/synth/ecosynth/current/src/syntheth.c +++ b/packages/devs/eth/synth/ecosynth/current/src/syntheth.c @@ -8,7 +8,7 @@ //####ECOSGPLCOPYRIGHTBEGIN#### // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. -// Copyright (C) 2002 Bart Veer +// Copyright (C) 2002, 2003 Bart Veer // // eCos is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free @@ -54,6 +54,8 @@ #include #include #include +#include +#include #define __ECOS 1 #include