fix build for mysql 4

This commit is contained in:
wilfried 2003-12-30 14:07:57 +00:00
parent e4dc136c95
commit 73443206ab

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-main_cc,v 1.2 2002/08/10 20:10:24 wilfried Exp $
--- main.cc.orig Wed Apr 11 21:12:20 2001
+++ main.cc Fri Aug 9 16:20:56 2002
@@ -15,6 +15,7 @@
$OpenBSD: patch-main_cc,v 1.3 2003/12/30 14:07:57 wilfried Exp $
--- main.cc.orig 2001-04-11 21:12:20.000000000 +0200
+++ main.cc 2003-12-30 15:01:49.000000000 +0100
@@ -15,10 +15,11 @@
#define koliko 1
#endif
#include <sys/stat.h>
@ -9,6 +9,11 @@ $OpenBSD: patch-main_cc,v 1.2 2002/08/10 20:10:24 wilfried Exp $
extern "C" {
char *intern_filename(char *,const char *); extern char *home_dir;
char *fn_format(char *to,const char *name,const char *dsk,const char *form,int flag);
- void load_defaults(const char *conf_file, const char **groups, int *argc, char ***argv);
+ int load_defaults(const char *conf_file, const char **groups, int *argc, char ***argv);
void free_defaults(char **argv);
void mysql_read_default_options(struct st_mysql_options *options, const char *filename,const char *group);
int strcasecmp(const char *,const char *);
@@ -134,7 +135,7 @@ static void recurse (string &s, Fl_Menu_
path += (string)de->d_name;
if ( !stat ( path.c_str(), &sb ) ) {