Linux Netfilter development
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Thomas Graf <tgraf@suug.ch>
Cc: Netfilter Development Mailinglist <netfilter-devel@vger.kernel.org>
Subject: libnl: fix missing limits.h include
Date: Fri, 20 Mar 2009 18:02:52 +0100	[thread overview]
Message-ID: <49C3CC3C.9010906@trash.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 02.diff --]
[-- Type: text/x-patch, Size: 747 bytes --]

commit d70b8153a31618fd49af97850dcc7bf329fbe0f5
Author: Patrick McHardy <kaber@trash.net>
Date:   Fri Mar 20 01:46:24 2009 +0100

    libnl: fix missing limits.h include
    
    utils.c: In function 'parse_u32':
    utils.c:23: error: 'ULONG_MAX' undeclared (first use in this function)
    utils.c:23: error: (Each undeclared identifier is reported only once
    utils.c:23: error: for each function it appears in.)
    
    Signed-off-by: Patrick McHardy <kaber@trash.net>

diff --git a/src/utils.h b/src/utils.h
index a5c94e6..8c4e884 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -16,6 +16,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <errno.h>
 #include <stdint.h>
 #include <ctype.h>

                 reply	other threads:[~2009-03-20 17:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=49C3CC3C.9010906@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=tgraf@suug.ch \
    /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