Summary: | net-wireless/crda: Patch for (yet another) missing include | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Damien Levac <damien.levac> |
Component: | Hardened | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED OBSOLETE | ||
Severity: | trivial | CC: | zerochaos |
Priority: | Normal | Keywords: | PATCH |
Version: | autobuilds | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: | Patch that add `#include <linux/limits.h>` to reglib.h |
Please use the POSIX header <limits.h> if it is just for PATH_MAX. Also, PATH_MAX is not used in reglib.h and would therefore better fit into reglib.c. I think it is indirectly fixed in upstream commit f4c3e3fcae69d90ad3763d2602765104dcb04708. Does version 3.18 work for you? 4.14 built fine here. |
Created attachment 418678 [details, diff] Patch that add `#include <linux/limits.h>` to reglib.h When trying to emerge crda-1.1.3 with musl, the build fails because reglib.h does not include <linux/limits.h> even though it makes use of PATH_MAX. I have included a patch that fixes the problem.