[PR #8443] [CLOSED] llama/llama-mmap: fix missing include #12708

Closed
opened 2026-04-13 00:07:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8443
Author: @wgottwalt
Created: 1/15/2025
Status: Closed

Base: mainHead: main


📄 Description

Proper memory and vector headers (like in GCC 15.1) do not provide the uint32_t type, so cstdint is required.

llama-mmap.h:55:20: error: ‘uint32_t’ has not been declared
55 | void write_u32(uint32_t val) const;


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/8443 **Author:** [@wgottwalt](https://github.com/wgottwalt) **Created:** 1/15/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📄 Description Proper memory and vector headers (like in GCC 15.1) do not provide the uint32_t type, so cstdint is required. llama-mmap.h:55:20: error: ‘uint32_t’ has not been declared 55 | void write_u32(uint32_t val) const; --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:07:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#12708