[PR #1676] [MERGED] libtrace/libtrace.c: add missing limits.h include #4038

Closed
opened 2026-05-05 10:12:38 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/1676
Author: @maxice8
Created: 12/13/2017
Status: Merged
Merged: 12/14/2017
Merged by: @reinerh

Base: masterHead: fix-musl


📝 Commits (1)

  • a258790 libtrace/libtrace.c: add missing limits.h include

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 src/libtrace/libtrace.c (+1 -0)

📄 Description

Fix build on Musl systems, tested on x86_64-musl Void Linux

Build error

libtrace.c: In function 'log_exec':
libtrace.c:683:18: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
  static char buf[PATH_MAX + 1];
                  ^~~~~~~~
                  AF_MAX
libtrace.c:683:18: note: each undeclared identifier is reported only once for each function it appears in

🔄 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/netblue30/firejail/pull/1676 **Author:** [@maxice8](https://github.com/maxice8) **Created:** 12/13/2017 **Status:** ✅ Merged **Merged:** 12/14/2017 **Merged by:** [@reinerh](https://github.com/reinerh) **Base:** `master` ← **Head:** `fix-musl` --- ### 📝 Commits (1) - [`a258790`](https://github.com/netblue30/firejail/commit/a25879017434858dba46b617e770ca9330e189d1) libtrace/libtrace.c: add missing limits.h include ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/libtrace/libtrace.c` (+1 -0) </details> ### 📄 Description Fix build on Musl systems, tested on x86_64-musl Void Linux Build error ``` libtrace.c: In function 'log_exec': libtrace.c:683:18: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? static char buf[PATH_MAX + 1]; ^~~~~~~~ AF_MAX libtrace.c:683:18: note: each undeclared identifier is reported only once for each function it appears in ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:12:38 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#4038
No description provided.