From: Jan Engelhardt <jengelh@medozas.de>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 1/3] src: use limits.h header
Date: Sat, 5 Mar 2011 13:31:29 +0100 [thread overview]
Message-ID: <1299328292-4469-2-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1299328292-4469-1-git-send-email-jengelh@medozas.de>
values.h is not present on other systems, and the glibc copy reads
right away: Old compatibility names for <limits.h> and <float.h>
constants.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
src/attr.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/attr.c b/src/attr.c
index c0ba938..55a80d6 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -6,10 +6,9 @@
* by the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*/
-
+#include <limits.h> /* for INT_MAX */
#include <libmnl/libmnl.h>
#include <string.h>
-#include <values.h> /* for INT_MAX */
#include <errno.h>
#include "internal.h"
--
1.7.1
next prev parent reply other threads:[~2011-03-05 12:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-05 12:31 libmnl: other OS support Jan Engelhardt
2011-03-05 12:31 ` Jan Engelhardt [this message]
2011-03-09 13:49 ` [PATCH 1/3] src: use limits.h header Pablo Neira Ayuso
2011-03-05 12:31 ` [PATCH 2/3] include: use sanitized header from headers_install Jan Engelhardt
2011-03-09 13:50 ` Pablo Neira Ayuso
2011-03-05 12:31 ` [PATCH 3/3] build: support compilation on non-Linuxes Jan Engelhardt
2011-03-09 13:53 ` Pablo Neira Ayuso
2011-03-09 19:03 ` Jan Engelhardt
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=1299328292-4469-2-git-send-email-jengelh@medozas.de \
--to=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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;
as well as URLs for NNTP newsgroup(s).