summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/gtk/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/gtk/fs.h')
-rw-r--r--Gui/mplayer/gtk/fs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Gui/mplayer/gtk/fs.h b/Gui/mplayer/gtk/fs.h
index b4998629bd..d03a48eaf7 100644
--- a/Gui/mplayer/gtk/fs.h
+++ b/Gui/mplayer/gtk/fs.h
@@ -11,6 +11,10 @@
#include "../../language.h"
+#ifdef __SVR4
+#define get_current_dir_name() getcwd(NULL, PATH_MAX)
+#endif
+
#ifndef get_current_dir_name
extern char * get_current_dir_name( void );
#endif
@@ -657,4 +661,4 @@ GtkWidget * create_FileSelect( void )
return fsFileSelect;
}
-#endif \ No newline at end of file
+#endif