Chromium Code Reviews

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_utility.cc

Issue 1407053008: Fix win32 header include order in rtp_utility.h. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtp_utility.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_utility.cc b/webrtc/modules/rtp_rtcp/source/rtp_utility.cc
index 2727e7b8bc168ead1d67b213e580a98c37b747b9..28830f2e661678316214feb17e5c8ac5e07ea92c 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_utility.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_utility.cc
@@ -16,10 +16,8 @@
#if defined(_WIN32)
// Order for these headers are important
-#include <Windows.h> // FILETIME
-
-#include <WinSock.h> // timeval
-
+#include <winsock2.h> // timeval
+#include <windows.h> // FILETIME
#include <MMSystem.h> // timeGetTime
#elif ((defined WEBRTC_LINUX) || (defined WEBRTC_MAC))
#include <sys/time.h> // gettimeofday
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine