From: maximilian attems <max@stro.at>
To: util-linux@vger.kernel.org
Cc: maximilian attems <max@stro.at>
Subject: [PATCH 3/3] mkswap: Use c.h
Date: Sun, 31 Jul 2011 12:47:21 +0200 [thread overview]
Message-ID: <1312109241-13590-3-git-send-email-max@stro.at> (raw)
In-Reply-To: <1312109241-13590-1-git-send-email-max@stro.at>
Fixes mkswap compilation against klibc.
Signed-off-by: maximilian attems <max@stro.at>
---
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
next prev parent reply other threads:[~2011-07-31 10:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-31 10:47 [PATCH 1/3] c.h: move up declaration of program_invocation_short_name before usage maximilian attems
2011-07-31 10:47 ` [PATCH 2/3] c.h: Include stdlib.h unconditionaly maximilian attems
2011-08-02 12:15 ` Karel Zak
2011-07-31 10:47 ` maximilian attems [this message]
2011-08-02 12:16 ` [PATCH 3/3] mkswap: Use c.h Karel Zak
2011-08-02 12:15 ` [PATCH 1/3] c.h: move up declaration of program_invocation_short_name before usage Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1312109241-13590-3-git-send-email-max@stro.at \
--to=max@stro.at \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox