hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #07070
[Bug 1802790] Re: [PATCH] proper check for sys/sysctl.h at build time
** Patch added: "hg commit"
https://bugs.launchpad.net/hugin/+bug/1802790/+attachment/5211515/+files/hugin-sys-sysctl.h.diff
** Attachment removed: "hg commit"
https://bugs.launchpad.net/hugin/+bug/1802790/+attachment/5211514/+files/hugin-sys-sysctl.h.diff
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1802790
Title:
[PATCH] proper check for sys/sysctl.h at build time
Status in Hugin:
New
Bug description:
The "platform" part of "hugin_utils" has an hardcoded list of platforms where sys/sysctl.h is not present (basically Windows, and Solaris). This is because sys/sysctl.h is not a standard POSIX header.
OTOH, there are more platforms without that header, for example GNU/Hurd.
A better way is to check whether sys/sysctl.h exists, and include it
only in that case. Attached there is a hg commit that does this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1802790/+subscriptions
References