Browse Source

Added include <time.h>, necessary to define localtime when compiling using --optimize=4

Zhao Huang 14 years ago
parent
commit
f2d1a429f2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/windisplay/winDetectDx.h

+ 2 - 0
panda/src/windisplay/winDetectDx.h

@@ -12,6 +12,8 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#include <time.h>
+
 typedef struct {
   D3DFORMAT d3d_format;
   int bits_per_pixel;