pkgsrc-wip/imonc/patches/patch-aa
2007-01-21 09:36:40 +00:00

14 lines
496 B
Text

$NetBSD: patch-aa,v 1.1 2007/01/21 09:36:40 gschwarz Exp $
--- imonc.c.orig 2006-12-30 13:37:39.840011000 +0100
+++ imonc.c 2006-12-30 13:39:10.790006000 +0100
@@ -46,6 +46,9 @@
#include <arpa/inet.h> /* decl of inet_addr() */
#include <sys/socket.h>
+#ifndef INADDR_NONE /* e.g. Solaris */
+#define INADDR_NONE 0xffffffff
+#endif
/*----------------------------------------------------------------------------
* some mini curses functions for fli4l router without curses library