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 <grobian@gentoo.org>
This commit is contained in:
parent
4a01477b12
commit
eb76ca98b0
52 changed files with 84 additions and 52 deletions
|
@ -11,7 +11,6 @@
|
|||
#define UTIL_LINUX_XALLOC_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "c.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue