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/unshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/unshare.c') diff --git a/sys-utils/unshare.c b/sys-utils/unshare.c index 12a725e3b..343a86ee3 100644 --- a/sys-utils/unshare.c +++ b/sys-utils/unshare.c @@ -18,7 +18,6 @@ * 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include #include #include #include @@ -27,6 +26,7 @@ #include #include "nls.h" +#include "c.h" #ifndef CLONE_NEWSNS # define CLONE_NEWNS 0x00020000 -- cgit v1.2.3-55-g7522