lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #5865] Fix missing lwip directory in socket.h includ


From: Frédéric Bernon
Subject: [lwip-devel] [patch #5865] Fix missing lwip directory in socket.h including path
Date: Mon, 14 May 2007 08:26:34 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #16, patch #5865 (project lwip):

about include inet.h, I'm agree it's not directly use by sockets functions
(but this is the same thing for ip_addr.h). In most of application ports I
do, only sockets.h was necessary. From memory, sockets.h is used to make a
"more" portable code (it is defined in most of ip stacks), because, even in
unix, the real file to call is not sockets.h, but socket.h (exactly,
sys/socket.h, see
http://www.opengroup.org/onlinepubs/007908799/xns/syssocket.h.html). Most of
time, one include the other one. 

>But I also don't see it that strict, that was just my reason not to include
it. Go ahead and include it if you want. Same thing for moving opt.h before
ip_addr.h

But if it's ok for you, I will check in like that...


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5865>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]