summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2014-10-29 23:10:48 +0000
committerjilles <jilles@FreeBSD.org>2014-10-29 23:10:48 +0000
commit2b4fb093044897c573e0f1cfe28d235e8c83db08 (patch)
tree8cc89349a2300b1df09238c155ec4c6a5b5d2feb /sys/dev/acpi_support
parent971ac59143ef0c48c1585ad311940038c45aee98 (diff)
downloadFreeBSD-src-2b4fb093044897c573e0f1cfe28d235e8c83db08.zip
FreeBSD-src-2b4fb093044897c573e0f1cfe28d235e8c83db08.tar.gz
MFC r266842: netinet/in.h: Expose htonl(), htons(), ntohl() and ntohs() in
strict POSIX mode. Put the htonl(), htons(), ntohl() and ntohs() declarations under __POSIX_VISIBLE >= 200112. POSIX.1-2001 and newer require these to be exposed from <netinet/in.h> (as well as <arpa/inet.h>). Note that it may be unnecessary to check __POSIX_VISIBLE >= 200112 because older versions of POSIX and the C standard do not define this header. However, other places in the same file already perform the check. PR: 188316 Submitted by: Christian Neukirchen
Diffstat (limited to 'sys/dev/acpi_support')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud