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 --- sys-utils/fallocate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/fallocate.c') diff --git a/sys-utils/fallocate.c b/sys-utils/fallocate.c index e9d7c079a..74e9435fe 100644 --- a/sys-utils/fallocate.c +++ b/sys-utils/fallocate.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #ifndef HAVE_FALLOCATE @@ -45,6 +44,7 @@ #include "nls.h" #include "strutils.h" +#include "c.h" static void __attribute__((__noreturn__)) usage(FILE *out) -- cgit v1.2.3-55-g7522