diff options
author | Fabian Groffen <grobian@gentoo.org> | 2011-01-25 22:44:52 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2011-02-14 17:45:24 +0100 |
commit | eb76ca98b0733754d7e9a40f754e89b50af2bf06 (patch) | |
tree | f2becaf31f77a664256273e6ec6772904422ac53 /sys-utils/rtcwake.c | |
parent | 4a01477b12bc6c7ced2306e2700021672f43a4a0 (diff) | |
download | util-linux-eb76ca98b0733754d7e9a40f754e89b50af2bf06.tar.gz |
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/rtcwake.c')
-rw-r--r-- | sys-utils/rtcwake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c index 06f5c383..da8c085f 100644 --- a/sys-utils/rtcwake.c +++ b/sys-utils/rtcwake.c @@ -28,7 +28,6 @@ #include <unistd.h> #include <errno.h> #include <time.h> -#include <err.h> #include <sys/ioctl.h> #include <sys/time.h> @@ -41,6 +40,7 @@ #include "pathnames.h" #include "usleep.h" #include "strutils.h" +#include "c.h" /* constants from legacy PC/AT hardware */ #define RTC_PF 0x40 |