From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12364 Path: news.gmane.org!.POSTED!not-for-mail From: Rostislav Skudnov Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] Add __intNN_t type definitions Date: Fri, 12 Jan 2018 17:07:05 +0000 Message-ID: <1515776825-13574-1-git-send-email-rostislav@tuxera.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515776730 13826 195.159.176.226 (12 Jan 2018 17:05:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Jan 2018 17:05:30 +0000 (UTC) To: Original-X-From: musl-return-12380-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jan 12 18:05:26 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1ea2ld-0002y3-A1 for gllmg-musl@m.gmane.org; Fri, 12 Jan 2018 18:05:21 +0100 Original-Received: (qmail 19780 invoked by uid 550); 12 Jan 2018 17:07:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 19741 invoked from network); 12 Jan 2018 17:07:21 -0000 X-Mailer: git-send-email 2.1.4 X-ClientProxiedBy: tuxera-exch.ad.tuxera.com (10.20.48.11) To tuxera-exch.ad.tuxera.com (10.20.48.11) Received-SPF: none Xref: news.gmane.org gmane.linux.lib.musl.general:12364 Archived-At: 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 +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