diff options
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/mf_pack.c | 3 | ||||
-rw-r--r-- | mysys/my_fstream.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mysys/mf_pack.c b/mysys/mf_pack.c index bfa9e5d8711..c18d37888b8 100644 --- a/mysys/mf_pack.c +++ b/mysys/mf_pack.c @@ -30,10 +30,9 @@ static my_string NEAR_F expand_tilde(my_string *path); /* Pack a dirname ; Changes HOME to ~/ and current dev to ./ */ /* from is a dirname (from dirname() ?) ending with FN_LIBCHAR */ + /* to may be == from */ void pack_dirname(my_string to, const char *from) - - /* to may be == from */ { int cwd_err; uint d_length,length,buff_length; diff --git a/mysys/my_fstream.c b/mysys/my_fstream.c index 76bd12abe32..d93caadbcdc 100644 --- a/mysys/my_fstream.c +++ b/mysys/my_fstream.c @@ -20,6 +20,7 @@ #include "mysys_priv.h" #include "mysys_err.h" #include <errno.h> +#include <stdio.h> #ifdef HAVE_FSEEKO #undef ftell |