public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: newlib@sourceware.org
Subject: [PATCH 1/2] In <sys/types.h> optionally provide stdint.h types
Date: Wed,  4 May 2022 10:10:47 +0200	[thread overview]
Message-ID: <20220504081048.115022-1-sebastian.huber@embedded-brains.de> (raw)

Provide stdint.h types if BSD visibility is requested.
---
 newlib/libc/include/sys/types.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 42e98ce97..9e858f1ce 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -48,6 +48,7 @@ typedef __intptr_t register_t;
 #if __BSD_VISIBLE
 #include <machine/endian.h>
 #include <sys/select.h>
+#include <sys/_stdint.h>
 #  define	physadr		physadr_t
 #  define	quad		quad_t
 
-- 
2.34.1


             reply	other threads:[~2022-05-04  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04  8:10 Sebastian Huber [this message]
2022-05-04  8:10 ` [PATCH 2/2] In <stdio.h> provide only necessary types Sebastian Huber
2022-05-04 13:50   ` Corinna Vinschen

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=20220504081048.115022-1-sebastian.huber@embedded-brains.de \
    --to=sebastian.huber@embedded-brains.de \
    --cc=newlib@sourceware.org \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).