Skip to content

Commit

Permalink
common/fdlimit: build on DragonflyBSD (ethereum#21241)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Jul 11, 2024
1 parent 2bfff1e commit b561712
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.

//go:build freebsd
// +build freebsd
//go:build freebsd || dragonfly
// +build freebsd dragonfly

package fdlimit

import "syscall"

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

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

0 comments on commit b561712

Please sign in to comment.