diff --git a/Makefile.PL b/Makefile.PL index f7cab64..545d3e1 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) { +if ($^O =~ /bsd/i && $^O ne 'openbsd') { push @CC_DEFINE, '-D_XOPEN_SOURCE'; }