[Nagiosplug-devel] [ nagiosplug-Bugs-1653934 ] wrong order of header files in check_swap.c
SourceForge.net
noreply at sourceforge.net
Wed Feb 7 13:29:22 CET 2007
Bugs item #1653934, was opened at 2007-02-07 10:14
Message generated for change (Comment added) made by hweiss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1653934&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: nsturm (nsturm)
>Assigned to: Holger Weiss (hweiss)
Summary: wrong order of header files in check_swap.c
Initial Comment:
In plugins/check_swap.c the order of header files
to include is wrong for at least OpenBSD. sys/param.h
needs to be included before sys/swap.h. See the attached
patch.
----------------------------------------------------------------------
>Comment By: Holger Weiss (hweiss)
Date: 2007-02-07 13:29
Message:
Logged In: YES
user_id=759506
Originator: NO
As I currently don't have access to an OpenBSD box, as <sys/param.h> is
not documented as a general requirement for <sys/swap.h> on OpenBSD[*], and
as I cannot reproduce the problem on NetBSD or FreeBSD: What happens
without your patch? Could you post the error message you get during
compilation? Thanks a lot!
Holger
[*] See: http://www.openbsd.org/cgi-bin/man.cgi?query=swapctl
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1653934&group_id=29880
More information about the Devel
mailing list