From: Rostislav Skudnov <rostislav@tuxera.com>
To: <musl@lists.openwall.com>
Subject: [PATCH] Add __intNN_t type definitions
Date: Fri, 12 Jan 2018 17:07:05 +0000 [thread overview]
Message-ID: <1515776825-13574-1-git-send-email-rostislav@tuxera.com> (raw)
These types are defined in glibc headers and are used by some programs,
e. g. xfsprogs before version 4.13.0.
---
include/sys/types.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/include/sys/types.h b/include/sys/types.h
index 75e489c..b02208d 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -56,6 +56,15 @@ extern "C" {
#include <bits/alltypes.h>
+typedef signed char __int8_t;
+typedef unsigned char __uint8_t;
+typedef short __int16_t;
+typedef unsigned short __uint16_t;
+typedef int __int32_t;
+typedef unsigned int __uint32_t;
+typedef off_t __int64_t;
+typedef ino_t __uint64_t;
+
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
--
2.1.4
next reply other threads:[~2018-01-12 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 17:07 Rostislav Skudnov [this message]
2018-01-12 18:04 ` Markus Wichmann
2018-01-12 19:26 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1515776825-13574-1-git-send-email-rostislav@tuxera.com \
--to=rostislav@tuxera.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).