Date: Tue, 27 Jul 2010 22:34:59 GMT From: Tuco <tuco.xyz@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/149012: please replace '#include <sys/stdint.h>' with '#include <stdint.h>' Message-ID: <201007272234.o6RMYxWX079128@www.freebsd.org> Resent-Message-ID: <201007272240.o6RMe12U007871@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149012 >Category: misc >Synopsis: please replace '#include <sys/stdint.h>' with '#include <stdint.h>' >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 27 22:40:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Tuco >Release: Debian GNU/kFreeBSD >Organization: >Environment: >Description: On FreeBSD, <stdint.h> and <sys/stdint.h> are the same file. POSIX only mandates <stdint.h>, so in other systems <sys/stdint.h> isn't present. Lots of code, including libraries and utilities, in the FreeBSD source tree uses <sys/stdint.h> instead of <stdint.h>, which makes it harder to port. Please could you replace all instances of '#include <sys/stdint.h>' with '#include <stdint.h>', to make your code more portable and help projects that rely heavily on FreeBSD codebase (like Debian GNU/kFreeBSD)? Thanks! >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007272234.o6RMYxWX079128>