Fixed include order (#245)

See wpilibsuite/styleguide (#11).
This commit is contained in:
Tyler Veness
2016-09-25 16:50:13 -07:00
committed by Peter Johnson
parent 107a4cc1e2
commit 5dfae8d6bd
109 changed files with 175 additions and 87 deletions

View File

@@ -7,12 +7,6 @@
#pragma once
#ifdef _WIN32
// Ensure that Winsock2.h is included before Windows.h, which can get
// pulled in by anybody (e.g., Boost).
#include <Winsock2.h>
#endif
#include <condition_variable>
#include <mutex>
#include <string>
@@ -23,6 +17,12 @@
#include "SensorBase.h"
#include "simulation/gz_msgs/msgs.h"
#ifdef _WIN32
// Ensure that Winsock2.h is included before Windows.h, which can get
// pulled in by anybody (e.g., Boost).
#include <Winsock2.h>
#endif
struct HALCommonControlData;
class AnalogInput;