From 9c7e599ebd80168775133d7ab57f8dce020d32ae Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sat, 18 Mar 2000 11:45:34 +0000 Subject: [PATCH] r215: Made some changes to allow compilation on IRIX. --- ROX-Filer/src/main.c | 2 ++ ROX-Filer/src/my_vfs.h | 2 +- ROX-Filer/src/run.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ROX-Filer/src/main.c b/ROX-Filer/src/main.c index c8d94ef4..95edcd9a 100644 --- a/ROX-Filer/src/main.c +++ b/ROX-Filer/src/main.c @@ -162,7 +162,9 @@ int main(int argc, char **argv) home_dir = g_get_home_dir(); +#ifdef HAVE_LIBVFS mc_vfs_init(); +#endif gtk_init(&argc, &argv); while (1) diff --git a/ROX-Filer/src/my_vfs.h b/ROX-Filer/src/my_vfs.h index e67a5303..2d2ac190 100644 --- a/ROX-Filer/src/my_vfs.h +++ b/ROX-Filer/src/my_vfs.h @@ -44,7 +44,7 @@ int mc_fstat (int fd, struct stat *buf); # define mc_opendir(x) opendir(x) # define mc_closedir(x) closedir(x) # define mc_readdir(x) readdir(x) -# define mc_rewinddir(x) rewinddir(x) +# define mc_seekdir(x, o) seekdir(x, o) #endif diff --git a/ROX-Filer/src/run.c b/ROX-Filer/src/run.c index 132b5fd7..f79253af 100644 --- a/ROX-Filer/src/run.c +++ b/ROX-Filer/src/run.c @@ -40,7 +40,7 @@ typedef struct _PipedData PipedData; struct _PipedData { - gpointer data; + guchar *data; gint tag; gulong sent; gulong length; -- 2.11.4.GIT