Skip to content

Commit

Permalink
Fix build error on OpenBSD (#2978)
Browse files Browse the repository at this point in the history
* Add OS version handler for OpenBSD in the same way as FreeBSD is handled in cgi.d
  • Loading branch information
abraunegg authored Nov 16, 2024
1 parent 512ba3f commit 22695de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/arsd/cgi.d
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,8 @@ version(Posix) {
// GDC doesn't support static foreach so I had to cheat on it :(
} else version(FreeBSD) {
// I never implemented the fancy stuff there either
} else version(OpenBSD) {
// Fix issue #2977 - adopt same approach as FreeBSD above
} else {
version=with_breaking_cgi_features;
version=with_sendfd;
Expand Down

0 comments on commit 22695de

Please sign in to comment.