aboutsummaryrefslogtreecommitdiff
path: root/include/compat/getopt.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add compat getopt implementation, remove patchesBrent Cook2023-07-071-0/+50
This adds a getopt implementation for compatibility where it is not available, removing a couple of regress patches. Note, this is a slightly modified copy from OpenBSD libc that doesn't expose getopt_long, which has dependency conflicts with Windows system headers and isn't needed anyway.