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>
#include <windows.h>
#include <BaseTsd.h>
#include <io.h>
#include <windows.h>
#include <BaseTsd.h>
#include <io.h>
#pragma comment(lib, "advapi32")
#pragma comment(lib, "advapi32")
#ifndef SFLOW_H
#define SFLOW_H 1
#ifndef SFLOW_H
#define SFLOW_H 1
+#ifdef _WIN32
+#include "windefs.h"
+#endif
+
typedef enum {
SFL_DSCLASS_IFINDEX = 0,
SFL_DSCLASS_VLAN = 1,
typedef enum {
SFL_DSCLASS_IFINDEX = 0,
SFL_DSCLASS_VLAN = 1,