[Bug 265567] security/masscan: fix build on armv6/armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Aug 2022 15:07:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265567

--- Comment #2 from Robert Clausecker <fuz@fuz.su> ---
(In reply to Chie Taguchi from comment #1)

Hi,

Without the include file, the htons() function is undeclared.  This causes
behaviour to be undefined.  While compilers currently accept this for
compatibility with pre-standard C programs, it is also in violation of C99 and
newer standards.  It is not a cosmetic issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.