aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/mplayer/gtk/fs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/mplayer/gtk/fs.c b/gui/mplayer/gtk/fs.c
index 62191cade4..183a99801a 100644
--- a/gui/mplayer/gtk/fs.c
+++ b/gui/mplayer/gtk/fs.c
@@ -25,9 +25,7 @@
#ifndef __linux__
#define get_current_dir_name() getcwd(NULL, PATH_MAX)
-#endif
-
-#ifndef get_current_dir_name
+#else
extern char * get_current_dir_name( void );
#endif