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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user