diff --git a/Makefile.PL b/Makefile.PL index 545d3e1..b46d7a9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -248,7 +248,7 @@ if ($^O eq 'darwin') { if ($^O eq 'aix') { push @CC_DEFINE, '-DSQLITE_DISABLE_DIRSYNC'; } -if ($^O =~ /bsd/i && $^O ne 'openbsd') { +if ($^O =~ /bsd/i && $^O !~ /(?:open|net)bsd/) { push @CC_DEFINE, '-D_XOPEN_SOURCE'; }