From f2d1a429f2048a73500be3c0a3551921a3448aed Mon Sep 17 00:00:00 2001 From: Zhao Huang Date: Wed, 21 Dec 2011 18:12:43 +0000 Subject: [PATCH] Added include , necessary to define localtime when compiling using --optimize=4 --- panda/src/windisplay/winDetectDx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/windisplay/winDetectDx.h b/panda/src/windisplay/winDetectDx.h index 37ca807f3d..58827aa570 100644 --- a/panda/src/windisplay/winDetectDx.h +++ b/panda/src/windisplay/winDetectDx.h @@ -12,6 +12,8 @@ // //////////////////////////////////////////////////////////////////// +#include + typedef struct { D3DFORMAT d3d_format; int bits_per_pixel;