diff options
author | Fabian Groffen | 2011-01-25 22:44:52 +0100 |
---|---|---|
committer | Karel Zak | 2011-02-14 17:45:24 +0100 |
commit | eb76ca98b0733754d7e9a40f754e89b50af2bf06 (patch) | |
tree | f2becaf31f77a664256273e6ec6772904422ac53 /sys-utils/ipcs.c | |
parent | sfdisk: rename warn to my_warn (diff) | |
download | kernel-qcow2-util-linux-eb76ca98b0733754d7e9a40f754e89b50af2bf06.tar.gz kernel-qcow2-util-linux-eb76ca98b0733754d7e9a40f754e89b50af2bf06.tar.xz kernel-qcow2-util-linux-eb76ca98b0733754d7e9a40f754e89b50af2bf06.zip |
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>
Diffstat (limited to 'sys-utils/ipcs.c')
-rw-r--r-- | sys-utils/ipcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c index 2ef5788de..533aaeb66 100644 --- a/sys-utils/ipcs.c +++ b/sys-utils/ipcs.c @@ -26,7 +26,6 @@ #include <pwd.h> #include <grp.h> #include <unistd.h> -#include <err.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/sem.h> @@ -34,6 +33,7 @@ #include <sys/shm.h> #include "nls.h" +#include "c.h" /*-------------------------------------------------------------------*/ /* SHM_DEST and SHM_LOCKED are defined in kernel headers, |