mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
sflow: Include the windefs.h header for windows.
sflow.h uses u_int32_t that needs windefs.h for compilation in visual studio. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <windows.h>
|
||||
#include <BaseTsd.h>
|
||||
#include <io.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#pragma comment(lib, "advapi32")
|
||||
|
||||
|
@@ -8,6 +8,10 @@
|
||||
#ifndef SFLOW_H
|
||||
#define SFLOW_H 1
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "windefs.h"
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
SFL_DSCLASS_IFINDEX = 0,
|
||||
SFL_DSCLASS_VLAN = 1,
|
||||
|
Reference in New Issue
Block a user