Error values use in the library are not POSIX. Unlike the GNU gcc,the
EWARM toolchain doesn't support error such as EINVAL. To ensure coherency
in error management we have to ensure that library and application use
the same errno. Currently an "errno.h" is provided at application level
which makes GCC work correctly, but this is not the case for the IAR.
the added list is based on FreeBSD errno.h.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>