[PATCH 3/3] mkswap: Use c.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes mkswap compilation against klibc.

Signed-off-by: maximilian attems <max@xxxxxxx>
---
 disk-utils/mkswap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/disk-utils/mkswap.c b/disk-utils/mkswap.c
index a621641..ab16d13 100644
--- a/disk-utils/mkswap.c
+++ b/disk-utils/mkswap.c
@@ -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>
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux