Skip to content

Commit 38a79e1

Browse files
gzliudanwanwiset25
authored andcommitted
common/fdlimit: build on DragonflyBSD (ethereum#21241)
1 parent 37fd4dc commit 38a79e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
// You should have received a copy of the GNU Lesser General Public License
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

17-
//go:build freebsd
18-
// +build freebsd
17+
//go:build freebsd || dragonfly
18+
// +build freebsd dragonfly
1919

2020
package fdlimit
2121

2222
import "syscall"
2323

2424
// This file is largely identical to fdlimit_unix.go,
25-
// but Rlimit fields have type int64 on FreeBSD so it needs
25+
// but Rlimit fields have type int64 on *BSD so it needs
2626
// an extra conversion.
2727

2828
// Raise tries to maximize the file descriptor allowance of this process

0 commit comments

Comments
 (0)