]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/MultiMidQueue.pm
portability: constants for NetBSD
[public-inbox.git] / lib / PublicInbox / MultiMidQueue.pm
index 3c28ebbc3bdee40f95d6a174596070835a4d2729..eb2ecf2f237077613be48e5ecbbee1d347b93c13 100644 (file)
@@ -8,7 +8,12 @@ use strict;
 use SDBM_File; # part of Perl standard library
 use Fcntl qw(O_RDWR O_CREAT);
 use File::Temp 0.19 (); # 0.19 for ->newdir
-my %e = (freebsd => 0x100000, linux => 0x80000, openbsd => 0x10000);
+my %e = (
+       freebsd => 0x100000,
+       linux => 0x80000,
+       netbsd => 0x400000,
+       openbsd => 0x10000,
+);
 my $O_CLOEXEC = $e{$^O} // 0;
 
 sub new {