Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 609
    • Issues 609
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Merge requests
  • !2085

Include <stdlib.h> in lib/dns/dnsrps.c

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michał Kępień requested to merge 1108-include-stdlib.h-in-lib-dns-dnsrps.c into master Jun 26, 2019
  • Overview 2
  • Commits 1
  • Pipelines 1
  • Changes 1

Since commit 0771dd3b, <isc/mem.h> no longer includes <isc/xml.h>. On some systems (e.g. FreeBSD), this means that no header included by lib/dns/dnsrps.c (and no header included by those headers) contains a definition of free() any more, which triggers a compiler warning as lib/dns/dnsrps.c calls that function. Add the missing #include directive to prevent that warning from being triggered.

Closes #1108 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 1108-include-stdlib.h-in-lib-dns-dnsrps.c