2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-05 00:35:33 +00:00

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 <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Simon Horman
2013-11-25 12:41:33 +09:00
committed by Ben Pfaff
parent 301a98b1d8
commit 4d3daf0481

View File

@@ -23,6 +23,7 @@
#include "openvswitch/types.h"
#include <sys/uio.h>
#include <stddef.h>
typedef unsigned short int sa_family_t;
typedef __socklen_t socklen_t;