From 9b5dfb52e79b42e8098f0349cc96f29a27899374 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Fri, 31 May 2013 11:43:04 +0900 Subject: [PATCH] apparently openbsd doesn't like the previous _XOPEN_SOURCE hack (cpantesters++) --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }