[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27155] 'NULL' undeclared in inet_checksum.c
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [bug #27155] 'NULL' undeclared in inet_checksum.c |
Date: |
Sun, 02 Aug 2009 10:56:32 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) |
Follow-up Comment #2, bug #27155 (project lwip):
Perhaps the simplest thing is to add it in your cc.h file (in a first time)
with others standards headers files, like string.h, stdlib.h, etc... After
all, this is the place where some lwip types are defined, like u8_t, s8_t,
u16_t, s16_t, u32_t, s32_t, mem_ptr_t . We could also read in sys_arch.txt :
"This file must either include a system-local <errno.h> which defines the
standard *nix error codes, or it should #define LWIP_PROVIDE_ERRNO to make
lwip/arch.h define the codes which are used throughout."
Of course, it have to be fix in inet_chksum.c, but add these includes in cc.h
will avoid you future problems...
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27155>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/