summaryrefslogtreecommitdiffstats
path: root/get_path.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-29 09:31:44 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-29 09:31:44 +0000
commit38af490489acffd55e08b6ffb89b39d582a3630f (patch)
tree91a3868b450ad753729eecf3a0a6127eee3ec2f0 /get_path.c
parentcbbbb1dbc9f93d045f1e5da0673b30b7d97a571d (diff)
downloadmpv-38af490489acffd55e08b6ffb89b39d582a3630f.tar.bz2
mpv-38af490489acffd55e08b6ffb89b39d582a3630f.tar.xz
Fix linking on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24286 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'get_path.c')
-rw-r--r--get_path.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/get_path.c b/get_path.c
index 952979bbe7..601f3a9d14 100644
--- a/get_path.c
+++ b/get_path.c
@@ -21,6 +21,10 @@
#include <unistd.h>
#endif
+#ifdef WIN32
+#include <windows.h>
+#endif
+
char *get_path(const char *filename){
char *homedir;
char *buff;