]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mkswap: Use c.h
authormaximilian attems <max@stro.at>
Sun, 31 Jul 2011 10:47:21 +0000 (12:47 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Aug 2011 11:58:54 +0000 (13:58 +0200)
Fixes mkswap compilation against klibc.

Signed-off-by: maximilian attems <max@stro.at>
disk-utils/mkswap.c

index a621641a0993d382f12d2bcd6af3b5e1f3d0cae2..ab16d130b0d34f49274c6546177d9013dad61cde 100644 (file)
@@ -41,7 +41,6 @@
 #include <sys/utsname.h>
 #include <sys/stat.h>
 #include <errno.h>
-#include <err.h>
 #include <getopt.h>
 #ifdef HAVE_LIBSELINUX
 #include <selinux/selinux.h>
@@ -57,6 +56,7 @@
 #include "wholedisk.h"
 #include "writeall.h"
 #include "xalloc.h"
+#include "c.h"
 
 #ifdef HAVE_LIBUUID
 # include <uuid.h>