2
0
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:
Gurucharan Shetty
2014-03-12 14:59:02 -07:00
parent f72e3073d7
commit 31b97ffddd
2 changed files with 5 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#include <windows.h>
#include <BaseTsd.h>
#include <io.h>
#include <inttypes.h>
#pragma comment(lib, "advapi32")

View File

@@ -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,