raspberrypi / utils

A collection of scripts and simple applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `#define _GNU_SOURCE` so pinctrl builds on earlier glibc?

6by9 opened this issue · comments

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?

Fixed by e43a8e2.