Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V virglrenderer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 90
    • Issues 90
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 33
    • Merge requests 33
  • 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
  • virgl
  • virglrenderer
  • Merge requests
  • !618

Include sys/types.h in p_compiler.h

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged colincross requested to merge colincross/virglrenderer:musl_upstream into master Sep 15, 2021
  • Overview 1
  • Commits 1
  • Pipelines 6
  • Changes 1

p_compiler.h includes stdlib.h which, when compiling against glibc, transitively includes sys/types.h. The rest of the build relies on this include in order to provide the uint typedef. Musl's stdlib.h does not include sys/types.h, causing a missing definition of uint. Include sys/types.h directly in p_compiler.h.

Signed-off-by: Colin Cross ccross@android.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: musl_upstream