* mcfs.c: Add INADDR_NONE definition for SunOS.

* mcserv.c: Likewise. (struct user_pass): Add "const" qualifier.
This commit is contained in:
Roland Illig 2004-10-21 23:07:54 +00:00
parent 3c8833159f
commit 7c709ae396
3 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-10-21 Roland Illig <roland.illig@gmx.de>
* mcfs.c: Add INADDR_NONE definition for SunOS.
* mcserv.c: Likewise. (struct user_pass): Add "const" qualifier.
2004-10-18 Roland Illig <roland.illig@gmx.de>
* extfs/hp48.in: Correct quoting from last patch. Avoid a

View File

@ -56,6 +56,10 @@
#include "mcfsutil.h"
#include "tcputil.h"
#ifndef INADDR_NONE
# define INADDR_NONE (0xffffffffU)
#endif
#define MCFS_MAX_CONNECTIONS 32
static struct _mcfs_connection {

View File

@ -109,6 +109,10 @@
#include "mcfsutil.h"
#include "tcputil.h"
#ifndef INADDR_NONE
# define INADDR_NONE (0xffffffffU)
#endif
/* replacement for g_free() from glib */
#undef g_free
#define g_free(x) do {if (x) free (x);} while (0)
@ -723,8 +727,8 @@ do_quit (void)
#ifdef HAVE_PAM
struct user_pass {
char *username;
char *password;
const char *username;
const char *password;
};
static int