misc/149012: please replace '#include <sys/stdint.h>' with
'#include <stdint.h>'
Tuco
tuco.xyz at gmail.com
Tue Jul 27 22:40:02 UTC 2010
>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:
More information about the freebsd-bugs
mailing list