summary refs log tree commit diff
path: root/src/mktokens
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-03-02 08:32:16 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-10 16:01:43 +0800
commit523d24878f5fb20c03210d10a919058a43fb5c31 (patch)
treeae546b812b3750f01fdc93edd4647d4b1d0e5c72 /src/mktokens
parentexpand: Remove dependency on fmatch.h if it does not exit (diff)
downloaddash-523d24878f5fb20c03210d10a919058a43fb5c31.tar.gz
dash-523d24878f5fb20c03210d10a919058a43fb5c31.zip
histedit: fix build with musl libc
musl libc defines the optreset BSD extension only in getopt.h. This
fixes the following build failure:

histedit.c: In function 'histcmd':
histedit.c:220:2: error: 'optreset' undeclared (first use in this function)
  optreset = 1; optind = 1; /* initialize getopt */
  ^~~~~~~~

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
s='logmsg'> 2022-03-15Remove dashJune McEnroetd>Update vendored pathogenJune McEnroe 2017-05-01Clean up git configJune McEnroe 2017-05-01Clean up style in xxJune McEnroe 2017-05-01Clean up style in pbdJune McEnroe 2017-05-01Use EX_OK in pbcopyJune McEnroe 2017-04-30Clean up clockJune McEnroe 2017-04-30Clean up error strings in briJune McEnroe 2017-03-18Add -u option to xxJune McEnroe 2017-03-15Fix non-string-literal-format-string in briJune McEnroe 2017-03-15Fix bri compilationJune McEnroe 2017-03-15Use psvar for title settingJune McEnroe 2017-03-14Add bri brightness control scriptJune McEnroe 2017-03-14Add comment to tmux terminal overrideJune McEnroe 2017-03-13Have tmux set block cursor on linux consoleJune McEnroe 2017-03-13Use inverse for Visual in colorschemeJune McEnroe