# HG changeset patch # User ib # Date 1364702273 0 # Node ID 73652b504ee14553a15574aeefdcf8ad5c7acf68 # Parent 5b85e4510b5f788a368d209cee91594e5bb4a63a Rephrase positively. Additionally, add #include for PATH_MAX. diff -r 5b85e4510b5f -r 73652b504ee1 gui/dialog/fileselect.c --- a/gui/dialog/fileselect.c Sun Mar 31 03:32:17 2013 +0000 +++ b/gui/dialog/fileselect.c Sun Mar 31 03:57:53 2013 +0000 @@ -48,10 +48,11 @@ #include "mpcommon.h" #include "stream/stream.h" -#ifndef __linux__ -#define get_current_dir_name() getcwd(NULL, PATH_MAX) +#ifdef __linux__ +char *get_current_dir_name(void); #else -char *get_current_dir_name(void); +#include +#define get_current_dir_name() getcwd(NULL, PATH_MAX) #endif const char *fsSelectedFile = NULL;