Skip to content
This repository has been archived by the owner. It is now read-only.

[dev.icinga.com #5021] [Patch] Build fails: xdata/xodtemplate.c requires stdint.h #1384

Closed
icinga-migration opened this issue Nov 7, 2013 · 2 comments
Labels
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Nov 7, 2013

This issue has been migrated from Redmine: https://dev.icinga.com/issues/5021

Created by sthen on 2013-11-07 11:07:29 +00:00

Assignee: (none)
Status: Resolved (closed on 2013-11-07 11:16:17 +00:00)
Target Version: 1.10.2
Last Update: 2013-11-07 11:16:17 +00:00 (in Redmine)

Icinga Version: 1.10.1
OS Version: OpenBSD 5.4-current

The commits for #4967 make use of intptr_t in xdata/xodtemplate.c, but stdint.h isn't pulled in by Icinga, so this typedef isn't available.

../xdata/xodtemplate.c:14344: error: 'intptr_t' undeclared (first use in this function)

There is already an autoconf test for stdint.h; the attached patch follows the existing style of pulling in system headers via config.h behind ifdefs for the relevant autoconf macros.

Attachments

Changesets

2013-11-07 11:13:43 +00:00 by (unknown) 23db4a8

Fix stdint.h inclusion for OpenBSD (thx Stuart Henderson)

Fixes #5021
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Nov 7, 2013

Updated by mfriedrich on 2013-11-07 11:15:19 +00:00

thanks, applied to support/1.10 and next.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Nov 7, 2013

Updated by Anonymous on 2013-11-07 11:16:17 +00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset 23db4a8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.