Add `#define _GNU_SOURCE` so pinctrl builds on earlier glibc?
6by9 opened this issue · comments
6by9 commented
Noted on https://forums.raspberrypi.com/viewtopic.php?t=364773 that pinctrl won't build on Buster. reallocarray
was only added to the standard glibc in 2.29.
Adding #define _GNU_SOURCE
gets it building, but do we care enough for the obsolete releases?
Phil Elwell commented
Fixed by e43a8e2.