oslib-win32: use localtime_r/gmtime_r that is provided by MinGW
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 16 Nov 2015 05:40:42 +0000 (14:40 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 16 Nov 2015 06:47:43 +0000 (15:47 +0900)
commit99949eced2426249eae33725e26e323c91a9e906
tree0cbabeb51a5fd9bac9862a14deca1189786b2f74
parentb4fadab51c8334f7b1e646817dc3d847998c00e7
oslib-win32: use localtime_r/gmtime_r that is provided by MinGW

Recent MinGW-w64 contains their own localtime_r() and gmtime_r(). But
it is only enabled under specific including order.
This issue is resolved by 4d9310f427b477a126f6f2006c3a73b9764948b6 in
upstream. But it is dependent on other commits that contain complex
modifications.
So now, we choose simple solution for it - just re-arrange header
including order.

Change-Id: Ie1a8d46baa9a5e8f1140362faa81567b1ba257a5
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
include/qemu-common.h
include/sysemu/os-win32.h
util/oslib-win32.c