On Thu, Nov 21, 2013 at 09:01:12AM -0800, Ben Pfaff wrote:
> On Thu, Nov 21, 2013 at 12:17:51PM +0900, Simon Horman wrote:
> > Include stdlib.h in include/sparse/sys/socket.h to ensure
> > that NULL is defined and thus avoid the following sparse warning.
> > 
> > ./include/sparse/sys/socket.h:74:15: error: undefined identifier 'NULL'
> > 
> > Signed-off-by: Simon Horman <[email protected]>
> 
> Does <stddef.h> work?  It defines NULL, like <stdlib.h>, but it has
> fewer extra definitions.

Yes, thanks, it does. Shall I send a revised patch?
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to