From: Simon Horman Date: Mon, 25 Nov 2013 03:41:33 +0000 (+0900) Subject: sparse: Include stddef.h to ensure NULL is defined. X-Git-Tag: sliver-openvswitch-2.0.90-1~3^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4d3daf048134e8c375fdadcec7e51d1dc28fe0b6;p=sliver-openvswitch.git sparse: Include stddef.h to ensure NULL is defined. Include stddef.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 Signed-off-by: Ben Pfaff --- diff --git a/include/sparse/sys/socket.h b/include/sparse/sys/socket.h index 64b905e54..75ee43c6c 100644 --- a/include/sparse/sys/socket.h +++ b/include/sparse/sys/socket.h @@ -23,6 +23,7 @@ #include "openvswitch/types.h" #include +#include typedef unsigned short int sa_family_t; typedef __socklen_t socklen_t;