dash: fix build with musl
authorBaruch Siach <baruch@tkos.co.il>
Fri, 2 Mar 2018 06:41:12 +0000 (08:41 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 2 Mar 2018 07:36:45 +0000 (08:36 +0100)
commit9329935402042670058edaf807242351d91f39b1
tree9c45232ae83235b09d736c02061c352f61a5e135
parentd3f24ac341d07f62f51d9951acdb7eac896d57a2
dash: fix build with musl

musl libc requires the getopt.h header for the definition of 'optreset'.

Fixes:
http://autobuild.buildroot.net/results/c23/c233ade479d6124ed7b382f2aa9859fe509d7bca/
http://autobuild.buildroot.net/results/081/0813c13c2a978316e6fa9a3cdbd5512612f5c374/
http://autobuild.buildroot.net/results/182/18230384d8225fbd7fddabfcbd685eaa38e31b31/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dash/0002-histedit-fix-build-with-musl-libc.patch [new file with mode: 0644]