From eb76ca98b0733754d7e9a40f754e89b50af2bf06 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 25 Jan 2011 22:44:52 +0100 Subject: build-sys: provide alternatives for err, errx, warn and warnx Solaris lacks err, errx, warn and warnx. This also means the err.h header doesn't exist. Removed err.h include from all files, and included err.h from c.h instead if it exists, otherwise alternatives are provided. Signed-off-by: Fabian Groffen --- login-utils/wall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login-utils/wall.c') diff --git a/login-utils/wall.c b/login-utils/wall.c index fc4d792c4..bc2e38288 100644 --- a/login-utils/wall.c +++ b/login-utils/wall.c @@ -47,7 +47,6 @@ #include #include -#include #include #include #include @@ -65,6 +64,7 @@ #include "ttymsg.h" #include "pathnames.h" #include "carefulputc.h" +#include "c.h" void makemsg __P((char *)); -- cgit v1.2.3-55-g7522