From 15734b9147111a524b9fa23fecf9b4df90b7ba77 Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 30 Mar 2000 02:38:22 +0000 Subject: [PATCH] Fix for stupid Solaris (maybe other Sysv systems too). --- WINGs/host.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/WINGs/host.c b/WINGs/host.c index 3a318b4f..61785629 100644 --- a/WINGs/host.c +++ b/WINGs/host.c @@ -1,7 +1,7 @@ /* * WINGs WMHost function library * - * Copyright (c) 1999 Dan Pascu + * Copyright (c) 1999-2000 Dan Pascu * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,6 +30,12 @@ #include "WUtil.h" +/* Tell stupid Solaris what's going on */ +#ifndef INADDR_NONE +#define INADDR_NONE (-1) +#endif + + typedef struct W_Host { char *name; -- 2.11.4.GIT