summaryrefslogtreecommitdiff
path: root/libutils/FileMap.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-11-08 19:30:05 -0800
committerStephen Hines <srhines@google.com>2014-11-08 19:30:05 -0800
commit7e34121e390218238bb622d3e3ccd9ccfbd152dd (patch)
treeab3928cac975926af5cb494cbce7f292dadfdaee /libutils/FileMap.cpp
parent2655256570b7c1c5af6d886735835eecb99f45f2 (diff)
Move winsock2.h in front of a potential windows.h include.
Files that included FileMap.h (possibly transitively), before including ByteOrder.h (which pulls in winsock2.h directly), will experience a compiler warning/error from the latest mingw headers. This happens because the headers require that winsock2.h come before windows.h in all cases. The simplest (and most error-proof) fix for now is to include winsock2.h before this use of windows.h. Change-Id: I33069e4c9962d9820d0ea5976554f89d7ff6307c
Diffstat (limited to 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions