diff main.c @ 533:52c56ada3816

Fix Win32/MinGW cross-compilation target to work with Debian's gcc-mingw-w64 package, thus upgrading to a new version of MinGW and GCC. Yay.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 07 Jun 2012 03:16:39 +0300
parents cfab338d3c9e
children 379e361f1144
line wrap: on
line diff
--- a/main.c	Wed Jun 06 18:55:17 2012 +0300
+++ b/main.c	Thu Jun 07 03:16:39 2012 +0300
@@ -12,6 +12,9 @@
 #include <errno.h>
 #ifdef __WIN32
 #include <shlwapi.h>
+#include <shfolder.h>
+#define srandom srand
+#define random rand
 #else
 #include <sys/wait.h>
 #endif