summaryrefslogtreecommitdiff
path: root/tests/testfilechooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r--tests/testfilechooser.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index 24cd1604bf..6c76f70bcc 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -11,14 +11,11 @@
#include <gtk/gtk.h>
#ifdef G_OS_WIN32
-# define WIN32_MEAN_AND_LEAN
-# include <windows.h> /* ExtractAssociatedIcon */
# include <io.h>
-# define localtime_r(t,b) localtime(t)
+# define localtime_r(t,b) *(b) = *localtime (t)
# ifndef S_ISREG
# define S_ISREG(m) ((m) & _S_IFREG)
# endif
-# include <gdk/win32/gdkwin32.h> /* gdk_win32_hdc_get */
#endif
#include "prop-editor.h"